]> git.itanic.dy.fi Git - linux-stable/commit
usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode
authorChris Brandt <chris.brandt@renesas.com>
Wed, 11 Nov 2020 13:12:09 +0000 (08:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Nov 2020 17:26:28 +0000 (18:26 +0100)
commitc6718a66229c6f22e7e8c64670e916ac57da9900
tree7f0b5cf37800ce82c928d61a541471320417df00
parentfe375b3260cae7e00ebfda0576921a5eabf3c677
usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode

commit 6d853c9e4104b4fc8d55dc9cd3b99712aa347174 upstream.

Renesas R-Car and RZ/G SoCs have a firmware download mode over USB.
However, on reset a banner string is transmitted out which is not expected
to be echoed back and will corrupt the protocol.

Cc: stable <stable@vger.kernel.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Link: https://lore.kernel.org/r/20201111131209.3977903-1-chris.brandt@renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c