Commit b8553b89 authored by David Chang's avatar David Chang Committed by David S. Miller

usbnet: ax88179_178a: add .reset_resume hook

I tested with the AX88179 usb dongle, if without .reset_resume hook,
after S3/S4 resume you have to enable network interface or reload the
dirver module manually otherwise the network interface can not work.
Signed-off-by: default avatarDavid Chang <dchang@suse.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 803dee95
...@@ -1433,6 +1433,7 @@ static struct usb_driver ax88179_178a_driver = { ...@@ -1433,6 +1433,7 @@ static struct usb_driver ax88179_178a_driver = {
.probe = usbnet_probe, .probe = usbnet_probe,
.suspend = ax88179_suspend, .suspend = ax88179_suspend,
.resume = ax88179_resume, .resume = ax88179_resume,
.reset_resume = ax88179_resume,
.disconnect = usbnet_disconnect, .disconnect = usbnet_disconnect,
.supports_autosuspend = 1, .supports_autosuspend = 1,
.disable_hub_initiated_lpm = 1, .disable_hub_initiated_lpm = 1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment