]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
USB: cdc-acm: add device id for GW Instek AFG-2225
authorJohan Hovold <johan@kernel.org>
Mon, 27 Oct 2014 17:34:33 +0000 (18:34 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:45 +0000 (19:02 +0100)
commit cf84a691a61606a2e7269907d3727e2d9fa148ee upstream.

Add device-id entry for GW Instek AFG-2225, which has a byte swapped
bInterfaceSubClass (0x20).

Reported-by: Karl Palsson <karlp@tweak.net.au>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/class/cdc-acm.c

index 669836ae53e0e7f7976e726ed4181dd6f0396905..742acebd0ed55a12d832b9c2c6336cf94711c636 100644 (file)
@@ -1580,6 +1580,7 @@ static const struct usb_device_id acm_ids[] = {
        { USB_DEVICE(0x0572, 0x1328), /* Shiro / Aztech USB MODEM UM-3100 */
        .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
        },
+       { USB_DEVICE(0x2184, 0x001c) }, /* GW Instek AFG-2225 */
        { USB_DEVICE(0x22b8, 0x6425), /* Motorola MOTOMAGX phones */
        },
        /* Motorola H24 HSPA module: */