From: Oliver Neukum Date: Thu, 18 Jan 2018 11:13:45 +0000 (+0100) Subject: CDC-ACM: apply quirk for card reader X-Git-Tag: v4.19~1693^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df1cc78a52491f71d8170d513d0f6f114faa1bda;p=platform%2Fkernel%2Flinux-rpi.git CDC-ACM: apply quirk for card reader This devices drops random bytes from messages if you talk to it too fast. Signed-off-by: Oliver Neukum CC: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 6c64ab6..18bbe3fe 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1752,6 +1752,9 @@ static const struct usb_device_id acm_ids[] = { { USB_DEVICE(0x0ace, 0x1611), /* ZyDAS 56K USB MODEM - new version */ .driver_info = SINGLE_RX_URB, /* firmware bug */ }, + { USB_DEVICE(0x11ca, 0x0201), /* VeriFone Mx870 Gadget Serial */ + .driver_info = SINGLE_RX_URB, + }, { USB_DEVICE(0x22b8, 0x7000), /* Motorola Q Phone */ .driver_info = NO_UNION_NORMAL, /* has no union descriptor */ },