USB: Don't autosuspend Blackberry devices.
authorJeremy Katz <katzj@redhat.com>
Tue, 19 Jun 2007 21:16:10 +0000 (17:16 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:40 +0000 (16:34 -0700)
Blackberry devices charge over USB.  By autosuspending the port, they are
not able to charge reliably.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/quirks.c

index f37fa012f3296b1f55ec5b2317f6689bb436b0fa..1cfc87b1d273c5dc7736aad9a409f557deef25f1 100644 (file)
@@ -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 */
 };