]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
usb: cdc_acm: Add quirk for Castles VEGA3000
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 10 Jul 2018 06:28:49 +0000 (08:28 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 1 Mar 2019 13:20:24 +0000 (14:20 +0100)
BugLink: http://bugs.launchpad.net/bugs/1814813
commit 1445cbe476fc3dd09c0b380b206526a49403c071 upstream.

The device (a POS terminal) implements CDC ACM, but has not union
descriptor.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/usb/class/cdc-acm.c

index ca06df931fbbc32e1af1f6063e392df6932436a0..6b9bdbd2a7826a9a33258c51f3545f910950a822 100644 (file)
@@ -1831,6 +1831,9 @@ static const struct usb_device_id acm_ids[] = {
        { USB_DEVICE(0x09d8, 0x0320), /* Elatec GmbH TWN3 */
        .driver_info = NO_UNION_NORMAL, /* has misplaced union descriptor */
        },
+       { USB_DEVICE(0x0ca6, 0xa050), /* Castles VEGA3000 */
+       .driver_info = NO_UNION_NORMAL, /* reports zero length descriptor */
+       },
 
        { USB_DEVICE(0x2912, 0x0001), /* ATOL FPrint */
        .driver_info = CLEAR_HALT_CONDITIONS,