diff options
author | Anshul Jain <anshulj@nvidia.com> | 2013-06-14 18:10:31 -0700 |
---|---|---|
committer | Harshada Kale <hkale@nvidia.com> | 2013-07-09 00:15:01 -0700 |
commit | 5e6ad8db18b81de2f8d357b1c39443054059cad6 (patch) | |
tree | 583430ff79b1cd57d7c0be50d4fc0b1a60611da0 /include | |
parent | c78a384ef1c59ff480e00d251f9566abdc5d46e4 (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
(cherry picked from commit 0c87ac97b15b35b41cf333611fa81b1ff3cff04d)
Reviewed-on: http://git-master/r/246313
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 */ |