]> git.baikalelectronics.ru Git - kernel.git/commit
USB: cdc-acm: add more Maxlinear/Exar models to ignore list
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 12 Apr 2021 09:55:57 +0000 (11:55 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 13 Apr 2021 16:37:22 +0000 (18:37 +0200)
commit1c935c79fa8c8598827160a9d8483231cad82c13
tree1144c88e4f005f17cdb4ca5833d28bb771496628
parent3aeabc7dc5853b50dfd36e65c729d71266b654a1
USB: cdc-acm: add more Maxlinear/Exar models to ignore list

Now that the xr_serial got support for other models, add their USB IDs
as well.

The Maxlinear/Exar USB UARTs can be used in either ACM mode using the
cdc-acm driver or in "custom driver" mode in which further features such
as hardware and software flow control, GPIO control and in-band
line-status reporting are available.

In ACM mode the device always enables RTS/CTS flow control, something
which could prevent transmission in case the CTS input isn't wired up
correctly.

Ensure that cdc_acm will not bind to these devices if the custom
USB-serial driver is enabled.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/5155887a764cbc11f8da0217fe08a24a77d120b4.1616571453.git.mchehab+huawei@kernel.org
[ johan: rewrite commit message, clean up entries ]
Cc: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/class/cdc-acm.c