summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/option.c
diff options
context:
space:
mode:
authorSebastian Frei <dr.nop@gmx.net>2017-09-12 09:50:59 +0200
committerJohan Hovold <johan@kernel.org>2017-09-19 09:37:48 +0200
commit7eac35ea29dc54cbc8399de84c9bf16553575b89 (patch)
treec7c640fd3c36592ad7cc10105e7a6d427272b71c /drivers/usb/serial/option.c
parentUSB: serial: option: add support for TP-Link LTE module (diff)
downloadlinux-7eac35ea29dc54cbc8399de84c9bf16553575b89.tar.xz
linux-7eac35ea29dc54cbc8399de84c9bf16553575b89.zip
USB: serial: cp210x: fix partnum regression
When adding GPIO support for the cp2105, the mentioned commit by Martyn Welch introduced a query for the part number of the chip. Unfortunately the driver aborts probing when this query fails, so currently the driver can not be used with chips not supporting this query. I have a data cable for Siemens mobile phones (ID 10ab:10c5) where this is the case. With this patch the driver can be bound even if the part number can not be queried. Fixes: cf5276ce7867 ("USB: serial: cp210x: Adding GPIO support for CP2105") Signed-off-by: Sebastian Frei <dr.nop@gmx.net> [ johan: amend commit message; shorten error message and demote to warning; drop unnecessary move of usb_set_serial_data() ] Cc: stable <stable@vger.kernel.org> # 4.9 Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/option.c')
0 files changed, 0 insertions, 0 deletions