]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: usb: asix_devices: add .reset_resume for USB PM
authorPeter Chen <peter.chen@nxp.com>
Tue, 3 Jan 2017 09:22:20 +0000 (17:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2017 18:03:08 +0000 (13:03 -0500)
commit63dfb0dac9055145db85ce764355aef2f563739a
tree897af37f05af159a16577bf83a1045f295397a9e
parent926d93a33e59b2729afdbad357233c17184de9d2
net: usb: asix_devices: add .reset_resume for USB PM

The USB core may call reset_resume when it fails to resume asix device.
And USB core can recovery this abnormal resume at low level driver,
the same .resume at asix driver can work too. Add .reset_resume can
avoid disconnecting after backing from system resume, and NFS can
still be mounted after this commit.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix_devices.c