diff mbox

smsc75xx: fix resume after device reset

Message ID 1348497779-10042-1-git-send-email-steve.glendinning@shawell.net
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Steve Glendinning Sept. 24, 2012, 2:42 p.m. UTC
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(+)

Comments

Steve Glendinning Sept. 26, 2012, 3:35 p.m. UTC | #1
Oops, missing signed-off line.  Please let me know if you want me to
resubmit this patch.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>

-Steve
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller Sept. 27, 2012, 10 p.m. UTC | #2
From: Steve Glendinning <steve.glendinning@shawell.net>
Date: Mon, 24 Sep 2012 15:42:59 +0100

> 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

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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,
 };