projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
769ea6d
)
smsc95xx: fix resume when usb device is reset
author
Steve Glendinning
<steve.glendinning@shawell.net>
Fri, 28 Sep 2012 00:07:10 +0000
(
00:07
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 28 Sep 2012 22:34:58 +0000
(18:34 -0400)
This patch fixes an issue on some systems, where after suspend the
link is re-established but the ethernet interface does not resume.
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/smsc95xx.c
b/drivers/net/usb/smsc95xx.c
index
d0ff01e
..
f29860d
100644
(file)
--- a/
drivers/net/usb/smsc95xx.c
+++ b/
drivers/net/usb/smsc95xx.c
@@
-1282,6
+1282,7
@@
static struct usb_driver smsc95xx_driver = {
.probe = usbnet_probe,
.suspend = usbnet_suspend,
.resume = usbnet_resume,
+ .reset_resume = usbnet_resume,
.disconnect = usbnet_disconnect,
.disable_hub_initiated_lpm = 1,
};