]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
USB: cdc-acm: add device id for GW Instek AFG-125
authorNathaniel Quillin <ndq@google.com>
Mon, 5 Dec 2016 14:53:00 +0000 (06:53 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 26 Jan 2017 16:22:25 +0000 (17:22 +0100)
commit 301216044e4c27d5a7323c1fa766266fad00db5e upstream.

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

Signed-off-by: Nathaniel Quillin <ndq@google.com>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/usb/class/cdc-acm.c

index 2d269169d08bc69c5f16c7ae23621017fba6a9ce..c78c4f7efb4026796678596f25bb053b40dc3dbd 100644 (file)
@@ -1588,6 +1588,7 @@ static const struct usb_device_id acm_ids[] = {
        .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
        },
        { USB_DEVICE(0x2184, 0x001c) }, /* GW Instek AFG-2225 */
+       { USB_DEVICE(0x2184, 0x0036) }, /* GW Instek AFG-125 */
        { USB_DEVICE(0x22b8, 0x6425), /* Motorola MOTOMAGX phones */
        },
        /* Motorola H24 HSPA module: */