USB: gadget: ACM: don't announce V.25ter support
barebox currently announces support for ITU V.25ter AT commands, but
doesn't handle them specially when they arrive. Instead they are passed
as is to the sole barebox input console, where it may interfere with
valid user input.
This is especially annoying as ModemManager probes ttyACM devices that
announce their AT command support. So even when not using the ttyACM
device at all, the other UART ports are affected.

Fix this by ceasing to announce USB_CDC_ACM_PROTO_AT_V25TER as function
protocol. After applying this patch, I can't see any spurious AT or ~x~
symbols on the console anymore.

Cc: <bst@pengutronix.de>
Cc: <jlu@pengutronix.de>
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 55397b9 commit a805a3cab4e3ef5b8673dd4e4a2fe2f7480a960d
@Ahmad Fatoum Ahmad Fatoum authored on 20 Sep 2019
Sascha Hauer committed on 14 Oct 2019
Showing 1 changed file
View
drivers/usb/gadget/f_acm.c