Skip to content

Commit a3cff12

Browse files
steveglendavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent beb5ac2 commit a3cff12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/usb/smsc75xx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,7 @@ static struct usb_driver smsc75xx_driver = {
12531253
.probe = usbnet_probe,
12541254
.suspend = usbnet_suspend,
12551255
.resume = usbnet_resume,
1256+
.reset_resume = usbnet_resume,
12561257
.disconnect = usbnet_disconnect,
12571258
.disable_hub_initiated_lpm = 1,
12581259
};

0 commit comments

Comments
 (0)