diff options
author | Anshul Jain <anshulj@nvidia.com> | 2013-06-14 18:10:31 -0700 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2013-06-17 02:39:53 -0700 |
commit | be97c59c55b9bf547cf0030a7dc469319bd8de94 (patch) | |
tree | 25105cd0623e19fb073fa6bd714143abdd9b73e2 /include | |
parent | 775f7c0f628c42e6fefd43e4990cf809d80c76c2 (diff) |
drivers:misc:issp: Reset Device on USB resume fail
This is a WAR to reset the USB device if the device
fails to resume. We assume that the resume failure is
because of the uC hang.
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Change-Id: I6fc85cd0ce2fad7a7dbff5b6ddee0a96149a5d76
Reviewed-on: http://git-master/r/239086
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/quirks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h index 3e93de7ecbc3..9f338a69ddf1 100644 --- a/include/linux/usb/quirks.h +++ b/include/linux/usb/quirks.h @@ -30,4 +30,8 @@ descriptor */ #define USB_QUIRK_DELAY_INIT 0x00000040 +/* reset device if bus resume fails - assume that resume failure is + due to usb device crash */ +#define USB_QUIRK_RESET_DEVICE_ON_RESUME_FAIL 0x00000100 + #endif /* __LINUX_USB_QUIRKS_H */ |