]> err.no Git - linux-2.6/blobdiff - drivers/usb/core/quirks.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6] / drivers / usb / core / quirks.c
index f384edf35b446920f308999b73021129e37de5ee..c070b34b669de70da98c450eaf7ac4d48e85ec93 100644 (file)
@@ -47,6 +47,13 @@ static const struct usb_device_id usb_quirk_list[] = {
        /* Edirol SD-20 */
        { USB_DEVICE(0x0582, 0x0027), .driver_info = USB_QUIRK_RESET_RESUME },
 
+       /* appletouch */
+       { USB_DEVICE(0x05ac, 0x021a), .driver_info = USB_QUIRK_RESET_RESUME },
+
+       /* Avision AV600U */
+       { USB_DEVICE(0x0638, 0x0a13), .driver_info =
+         USB_QUIRK_STRING_FETCH_255 },
+
        /* M-Systems Flash Disk Pioneers */
        { USB_DEVICE(0x08ec, 0x1000), .driver_info = USB_QUIRK_RESET_RESUME },
 
@@ -98,12 +105,14 @@ void usb_detect_quirks(struct usb_device *udev)
                udev->autosuspend_disabled = 1;
 #endif
 
-#ifdef CONFIG_PM
+       /* For the present, all devices default to USB-PERSIST enabled */
+#if 0          /* was: #ifdef CONFIG_PM */
        /* Hubs are automatically enabled for USB-PERSIST */
        if (udev->descriptor.bDeviceClass == USB_CLASS_HUB)
                udev->persist_enabled = 1;
+
 #else
-       /* In the absense of PM, we can safely enable USB-PERSIST
+       /* In the absence of PM, we can safely enable USB-PERSIST
         * for all devices.  It will affect things like hub resets
         * and EMF-related port disables.
         */