diff options
author | hayeswang <hayeswang@realtek.com> | 2014-10-01 13:25:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-01 16:46:34 -0400 |
commit | 49be17235c0acd96f2ff0fe282867fe3a83f554c (patch) | |
tree | 6ae5fd4c1681dd1a06423c74437b150b06633c22 | |
parent | 204c8704128943bf3f8b605f4b40bdc2b6bd89dc (diff) | |
download | op-kernel-dev-49be17235c0acd96f2ff0fe282867fe3a83f554c.zip op-kernel-dev-49be17235c0acd96f2ff0fe282867fe3a83f554c.tar.gz |
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>
-rw-r--r-- | drivers/net/usb/r8152.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 18b9e0d..604ef21 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c @@ -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) |