From: Jeremy Katz Date: Tue, 19 Jun 2007 21:16:10 +0000 (-0400) Subject: USB: Don't autosuspend Blackberry devices. X-Git-Tag: v2.6.23-rc1~1083^2~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8e80e753ea654ae0a66b33e404c0a517b34cb6e1;p=linux-2.6-omap-h63xx.git USB: Don't autosuspend Blackberry devices. Blackberry devices charge over USB. By autosuspending the port, they are not able to charge reliably. Signed-off-by: Jeremy Katz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index f37fa012f32..1cfc87b1d27 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -38,6 +38,11 @@ static const struct usb_device_id usb_quirk_list[] = { /* Philips PSC805 audio device */ { USB_DEVICE(0x0471, 0x0155), .driver_info = USB_QUIRK_RESET_RESUME }, + /* RIM Blackberry */ + { USB_DEVICE(0x0fca, 0x0001), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, + { USB_DEVICE(0x0fca, 0x0004), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, + { USB_DEVICE(0x0fca, 0x0006), .driver_info = USB_QUIRK_NO_AUTOSUSPEND }, + { } /* terminating entry must be last */ };