From: Steve Glendinning Date: Mon, 24 Sep 2012 04:42:59 +0000 (+0000) Subject: smsc75xx: fix resume after device reset X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a3cff128c970da8400875c8893d68ac735e783fb;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git smsc75xx: fix resume after device reset 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 Signed-off-by: Steve Glendinning Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/smsc75xx.c b/drivers/net/usb/smsc75xx.c index f5ab6e613ec..376143e8a1a 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, };