mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-15 18:04:36 +00:00
r8152: disable power cut for RTL8153
The firmware would be clear when the power cut is enabled for RTL8153. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
204c870412
commit
49be17235c
@ -3397,7 +3397,7 @@ static void rtl8153_unload(struct r8152 *tp)
|
||||
if (test_bit(RTL8152_UNPLUG, &tp->flags))
|
||||
return;
|
||||
|
||||
r8153_power_cut_en(tp, true);
|
||||
r8153_power_cut_en(tp, false);
|
||||
}
|
||||
|
||||
static int rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user