]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller
authorIan Ray <ian.ray@gehealthcare.com>
Wed, 14 Aug 2024 07:29:05 +0000 (10:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2024 09:28:16 +0000 (17:28 +0800)
USB_DEVICE(0x1901, 0x0006) may send data before cdc_acm is ready, which
may be misinterpreted in the default N_TTY line discipline.

Signed-off-by: Ian Ray <ian.ray@gehealthcare.com>
Acked-by: Oliver Neuku <oneukum@suse.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20240814072905.2501-1-ian.ray@gehealthcare.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c

index 0e7439dba8fe8c727be5e9ed8e9417053fc60b8c..0c1b69d944ca45e77248ffcdd0efe4d59e779d7a 100644 (file)
@@ -1761,6 +1761,9 @@ static const struct usb_device_id acm_ids[] = {
        { USB_DEVICE(0x11ca, 0x0201), /* VeriFone Mx870 Gadget Serial */
        .driver_info = SINGLE_RX_URB,
        },
+       { USB_DEVICE(0x1901, 0x0006), /* GE Healthcare Patient Monitor UI Controller */
+       .driver_info = DISABLE_ECHO, /* DISABLE ECHO in termios flag */
+       },
        { USB_DEVICE(0x1965, 0x0018), /* Uniden UBC125XLT */
        .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
        },