summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-10-01 07:25:11 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-01 22:46:34 +0200
commit49be17235c0acd96f2ff0fe282867fe3a83f554c (patch)
tree6ae5fd4c1681dd1a06423c74437b150b06633c22 /drivers
parentr8152: remove clearing bp (diff)
downloadlinux-49be17235c0acd96f2ff0fe282867fe3a83f554c.tar.xz
linux-49be17235c0acd96f2ff0fe282867fe3a83f554c.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/usb/r8152.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index 18b9e0d7d6bb..604ef210a4de 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)