mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
r8152: Fix double consecutive clearing of PLA_MCU_SPDWN_EN bit
Due to a Copy & Paste Error, the PLA_MCU_SPDWN_EN bit was cleared twice consecutively using ocp_word_clr_bits. Fix that. Signed-off-by: Birger Koblitz <mail@birger-koblitz.de> Link: https://patch.msgid.link/20260428-patch_double-v1-1-27c830a9eb2e@birger-koblitz.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
b60f81e62b
commit
115553b80f
|
|
@ -6839,9 +6839,6 @@ static void rtl8156_up(struct r8152 *tp)
|
|||
ocp_word_w0w1(tp, MCU_TYPE_PLA, PLA_RXFIFO_FULL, RXFIFO_FULL_MASK,
|
||||
0x08);
|
||||
|
||||
ocp_word_clr_bits(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3,
|
||||
PLA_MCU_SPDWN_EN);
|
||||
|
||||
ocp_word_clr_bits(tp, MCU_TYPE_PLA, PLA_MAC_PWR_CTRL3, PLA_MCU_SPDWN_EN);
|
||||
|
||||
if (tp->version != RTL_VER_16)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user