diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2015-12-10 15:27:21 -0500 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-01-05 17:48:51 +0100 |
commit | 9963c40635d4407c2f40d946a74bf3a082ed4c87 (patch) | |
tree | 7e1e67ea4afcef244f79005a1b9734df04710686 /include | |
parent | 27d8d589899a22acf841c700484ff5231abcc0f4 (diff) | |
download | lwn-9963c40635d4407c2f40d946a74bf3a082ed4c87.tar.gz lwn-9963c40635d4407c2f40d946a74bf3a082ed4c87.zip |
USB: add quirk for devices with broken LPM
commit ad87e03213b552a5c33d5e1e7a19a73768397010 upstream.
Some USB device / host controller combinations seem to have problems
with Link Power Management. For example, Steinar found that his xHCI
controller wouldn't handle bandwidth calculations correctly for two
video cards simultaneously when LPM was enabled, even though the bus
had plenty of bandwidth available.
This patch introduces a new quirk flag for devices that should remain
disabled for LPM, and creates quirk entries for Steinar's devices.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Steinar H. Gunderson <sgunderson@bigfoot.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/quirks.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h index a4abaeb3fb00..7eb814c60b5d 100644 --- a/include/linux/usb/quirks.h +++ b/include/linux/usb/quirks.h @@ -47,4 +47,7 @@ /* device generates spurious wakeup, ignore remote wakeup capability */ #define USB_QUIRK_IGNORE_REMOTE_WAKEUP 0x00000200 +/* device can't handle Link Power Management */ +#define USB_QUIRK_NO_LPM BIT(10) + #endif /* __LINUX_USB_QUIRKS_H */ |