Commit 49be1723 authored by hayeswang's avatar hayeswang Committed by David S. Miller

r8152: disable power cut for RTL8153

The firmware would be clear when the power cut is enabled for
RTL8153.
Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 204c8704
...@@ -3397,7 +3397,7 @@ static void rtl8153_unload(struct r8152 *tp) ...@@ -3397,7 +3397,7 @@ static void rtl8153_unload(struct r8152 *tp)
if (test_bit(RTL8152_UNPLUG, &tp->flags)) if (test_bit(RTL8152_UNPLUG, &tp->flags))
return; 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) static int rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment