OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204c870
)
r8152: disable power cut for RTL8153
author
hayeswang
<hayeswang@realtek.com>
Wed, 1 Oct 2014 05:25:11 +0000
(13:25 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 1 Oct 2014 20:46:34 +0000
(16:46 -0400)
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>
drivers/net/usb/r8152.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/r8152.c
b/drivers/net/usb/r8152.c
index
18b9e0d
..
604ef21
100644
(file)
--- 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,
tru
e);
+ r8153_power_cut_en(tp,
fals
e);
}
static int rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id)