aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/quirks.h
diff options
context:
space:
mode:
authorLan Tianyu <tianyu.lan@intel.com>2012-08-17 16:44:56 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-20 14:38:08 -0700
commit7fda953ffed1b94aa68f80c6c3ab312328aedcb3 (patch)
tree13be546c8b34fac9b678cb02a024c9737d5af693 /include/linux/usb/quirks.h
parentusb/endpoint: Set release callback in the struct device_type instead of in the device itself directly (diff)
downloadlinux-dev-7fda953ffed1b94aa68f80c6c3ab312328aedcb3.tar.xz
linux-dev-7fda953ffed1b94aa68f80c6c3ab312328aedcb3.zip
usb: convert USB_QUIRK_RESET_MORPHS to USB_QUIRK_RESET
Since the attribute avoid_reset_quirk is work for all devices including those devices that can't morph, convert USB_QUIRK_RESET_MORPHS to USB_QUIRK_RESET. Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/quirks.h')
-rw-r--r--include/linux/usb/quirks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h
index 3e93de7ecbc3..52f944dfe2fd 100644
--- a/include/linux/usb/quirks.h
+++ b/include/linux/usb/quirks.h
@@ -19,8 +19,8 @@
/* device can't handle its Configuration or Interface strings */
#define USB_QUIRK_CONFIG_INTF_STRINGS 0x00000008
-/*device will morph if reset, don't use reset for handling errors */
-#define USB_QUIRK_RESET_MORPHS 0x00000010
+/* device can't be reset(e.g morph devices), don't use reset */
+#define USB_QUIRK_RESET 0x00000010
/* device has more interface descriptions than the bNumInterfaces count,
and can't handle talking to these interfaces */