]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Wed, 4 Sep 2024 11:17:47 +0000 (13:17 +0200)
commit 0b00583ecacb0b51712a5ecd34cf7e6684307c67 upstream.

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 4e4a71307d63c86c2f330492540a04c96ebd32c9..c494b77e6749309097f9b3b0f77edb98040edb9f 100644 (file)
@@ -1757,6 +1757,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 */
        },