diff options
author | Oliver Neukum <oliver@neukum.org> | 2012-12-18 04:45:29 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-19 20:46:40 (GMT) |
commit | a1c088e01b71d90852b0df5a77cdae46bd0e0c05 (patch) | |
tree | 5aa6cae3330418b279d8f77d2bb466f75eee9018 /include/linux/usb/usbnet.h | |
parent | 4945106d21926eadaaa1c5465d26d9a0d26a2420 (diff) | |
download | linux-fsl-qoriq-a1c088e01b71d90852b0df5a77cdae46bd0e0c05.tar.xz |
usbnet: handle PM failure gracefully
If a device fails to do remote wakeup, this is no reason
to abort an open totally. This patch just continues without
runtime PM.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/usb/usbnet.h')
-rw-r--r-- | include/linux/usb/usbnet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 9bbeabf..288b32a 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h @@ -69,6 +69,7 @@ struct usbnet { # define EVENT_DEV_ASLEEP 6 # define EVENT_DEV_OPEN 7 # define EVENT_DEVICE_REPORT_IDLE 8 +# define EVENT_NO_RUNTIME_PM 9 }; static inline struct usb_driver *driver_of(struct usb_interface *intf) |