From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3BD717B50B; Sun, 1 Sep 2024 16:36:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725208561; cv=none; b=kGPlkTpQYKgV/J2m2AI2TA6/Zsu0JgWuIPKOn7os6JgvEulxpoYK509KnxAQLhk4DeVvEmltjwA+frcLpeJSlCdVHeouCppExQS649fmuIfca15HXj/q8HP4/l3vmK8vRQqsYf3VNMWzWrwdIUhrl2INCOauhWSqqCa8BQg8kNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725208561; c=relaxed/simple; bh=Tzot7pc0m4CxYq1jNb08VYyex84tbUQgBeUXafo/FYA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HfpFrxtNMhXWURKjCOc39amcZQm2jnpGivrOzWiVLosmMsmKwNw/Ch7xi/W24lZKh0Y4vEdNs2jn2E3uvqx3kHn72CxbT3rvBBW3w/yI7DH2uZY6ZrxFGNwnNXnM7o41dmYNYNyUNYJTnsY5ak3x7bZ5jROVXqC4r1V8SptilNc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uTTe5fk0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uTTe5fk0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 605B6C4CEC3; Sun, 1 Sep 2024 16:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725208560; bh=Tzot7pc0m4CxYq1jNb08VYyex84tbUQgBeUXafo/FYA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uTTe5fk0TI+mr+FDd+TIsrDncq+Jxn3XBGQg6GwR6pUetqLzF43no4pfCWtv1iAs7 3dKUnTrcm5ntRNTGetjnnyIDSDKnWxodl1Hu1BwicdPtNl5sdst49QIvY+YW7LMxZU CEqX9C+frTfAWHU14MNuQwdFIBpvzyPsiNQ5UiwQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ian Ray , Oliver Neuku , stable Subject: [PATCH 6.10 118/149] cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller Date: Sun, 1 Sep 2024 18:17:09 +0200 Message-ID: <20240901160821.893338086@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240901160817.461957599@linuxfoundation.org> References: <20240901160817.461957599@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ian Ray 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 Acked-by: Oliver Neuku Cc: stable Link: https://lore.kernel.org/r/20240814072905.2501-1-ian.ray@gehealthcare.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/class/cdc-acm.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1761,6 +1761,9 @@ static const struct usb_device_id acm_id { 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 */ },