]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: fix the RX FIFO settings when suspending
authorHayes Wang <hayeswang@realtek.com>
Thu, 18 Aug 2022 08:06:20 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Aug 2022 13:28:59 +0000 (14:28 +0100)
commiteb639366671737d0005516fb1d1568f0ba8d5d96
treef1e05c28a296f3a9af462243e51998b4e0b81fb7
parent18ddd83e8a37f8fc39cd624dd4c1607eabb4ec76
r8152: fix the RX FIFO settings when suspending

The RX FIFO would be changed when suspending, so the related settings
have to be modified, too. Otherwise, the flow control would work
abnormally.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216333
Reported-by: Mark Blakeney <mark.blakeney@bullet-systems.net>
Fixes: b4f6cde88488 ("r8152: fix a WOL issue")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c