]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
USB: CDC-ACM quirk for MTK GPS
authorAndrew Lunn <andrew@lunn.ch>
Tue, 23 Dec 2008 16:31:23 +0000 (17:31 +0100)
committerGreg Kroah-Hartman <gregkh@kvm.kroah.org>
Wed, 28 Jan 2009 00:15:36 +0000 (16:15 -0800)
This patch adds a device quirk for a MediaTek Inc GPS chipset. The
device implements USB CDC ACM, but is missing the union descriptor, so
the ACM class driver fails to probe the device.

I've tested this patch with an iBlue A+ GPS which uses this chipset
and using kernel 2.6.28-rc9.

Signed-off-by: Andrew Lunn, <andrew@lunn.ch>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c

index 5664b4afe566f90aab2fe8ef34433ff9dbcabf72..f2bfae7b3984bb58834f4d5359485cd298cee98c 100644 (file)
@@ -1352,6 +1352,9 @@ static struct usb_device_id acm_ids[] = {
        { USB_DEVICE(0x0e8d, 0x3329), /* i-blue 747, Qstarz BT-Q1000, Holux M-241 */
        .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
        },
+       { USB_DEVICE(0x0e8d, 0x3329), /* MediaTek Inc GPS */
+       .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
+       },
        { USB_DEVICE(0x0482, 0x0203), /* KYOCERA AH-K3001V */
        .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
        },