asix: .resume vs .reset_resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Asix driver triggers this warning in the USB subsystem:
    asix 1-7:1.0: no reset_resume for driver asix?

The (cut/paste) patch below "fixes" the warning...but I didn't find (a
few monthes ago)
documentation to explain the difference and it feels wrong. Advice?

thanks,
grant

diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index 42b5151..f192496 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -1645,6 +1645,7 @@ static struct usb_driver asix_driver = {
        .probe =        usbnet_probe,
        .suspend =      usbnet_suspend,
        .resume =       usbnet_resume,
+       .reset_resume = usbnet_resume,
        .disconnect =   usbnet_disconnect,
        .supports_autosuspend = 1,
 };
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux