netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] smsc75xx: fix resume after device reset
@ 2012-09-24 14:42 Steve Glendinning
  2012-09-26 15:35 ` Steve Glendinning
  2012-09-27 22:00 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Steve Glendinning @ 2012-09-24 14:42 UTC (permalink / raw)
  To: netdev; +Cc: Steve Glendinning

On some systems this device fails to properly resume after suspend,
this patch fixes it by running the usbnet_resume handler.

I suspect this also fixes this bug:

http://code.google.com/p/chromium-os/issues/detail?id=31871
---
 drivers/net/usb/smsc75xx.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/usb/smsc75xx.c b/drivers/net/usb/smsc75xx.c
index f5ab6e6..376143e 100644
--- a/drivers/net/usb/smsc75xx.c
+++ b/drivers/net/usb/smsc75xx.c
@@ -1253,6 +1253,7 @@ static struct usb_driver smsc75xx_driver = {
 	.probe		= usbnet_probe,
 	.suspend	= usbnet_suspend,
 	.resume		= usbnet_resume,
+	.reset_resume	= usbnet_resume,
 	.disconnect	= usbnet_disconnect,
 	.disable_hub_initiated_lpm = 1,
 };
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-27 22:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 14:42 [PATCH] smsc75xx: fix resume after device reset Steve Glendinning
2012-09-26 15:35 ` Steve Glendinning
2012-09-27 22:00 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).