linux/drivers/usb/serial
Sebastian Frei 7eac35ea29 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: cf5276ce78 ("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>
2017-09-19 09:37:48 +02:00
..
aircable.c USB: serial: aircable: use calc_num_endpoints to verify endpoints 2017-03-28 11:00:08 +02:00
ark3116.c USB: serial: ark3116: simplify endpoint sanity check 2017-03-16 10:33:42 +01:00
belkin_sa.c
belkin_sa.h
bus.c
ch341.c USB: serial: ch341: change initial line-control settings 2017-01-16 12:32:21 +01:00
console.c USB: serial: console: clean up sanity checks 2017-02-08 21:20:49 +01:00
cp210x.c USB: serial: cp210x: fix partnum regression 2017-09-19 09:37:48 +02:00
cyberjack.c USB: serial: cyberjack: simplify endpoint check 2017-03-16 10:33:42 +01:00
cypress_m8.c USB: serial: cypress_m8: remove unused variable 2017-01-16 12:26:58 +01:00
cypress_m8.h
digi_acceleport.c USB: serial: digi_acceleport: simplify endpoint check 2017-03-16 10:33:42 +01:00
empeg.c
ezusb_convert.pl
f81232.c
f81534.c USB: serial: f81534: clean up port bulk-out setup 2017-03-28 11:14:13 +02:00
ftdi_sio_ids.h USB: serial: ftdi_sio: add id for Cypress WICED dev board 2017-09-18 10:32:51 +02:00
ftdi_sio.c USB: serial: ftdi_sio: add id for Cypress WICED dev board 2017-09-18 10:32:51 +02:00
ftdi_sio.h
garmin_gps.c USB: serial: garmin_gps: fix memory leak on failed URB submit 2017-01-04 10:37:15 +01:00
generic.c USB: serial: relax generic driver bulk-endpoint requirement 2017-03-28 10:54:39 +02:00
io_16654.h
io_edgeport.c USB: serial: constify static arrays 2017-04-19 09:45:43 +02:00
io_edgeport.h
io_ionsp.h
io_ti.c USB: serial: io_ti: fix div-by-zero in set_termios 2017-05-15 11:52:04 +02:00
io_ti.h
io_usbvend.h
ipaq.c USB: serial: ipaq: always register a single port 2017-03-28 11:00:09 +02:00
ipw.c
ir-usb.c USB: serial: ir-usb: fix big-endian baud-rate debug printk 2017-05-15 11:50:34 +02:00
iuu_phoenix.c USB: serial: iuu_phoenix: drop excessive sanity checks 2017-04-10 09:42:00 +02:00
iuu_phoenix.h
Kconfig USB: serial: add uPD78F0730 USB to Serial Adaptor Driver 2017-01-26 10:18:17 +01:00
keyspan_pda.c USB: serial: keyspan_pda: simplify endpoint check 2017-03-16 10:33:44 +01:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: serial: keyspan: drop header file 2017-02-15 17:42:28 +01:00
kl5kusb105.c USB: serial: kl5kusb105: remove unused termios structure 2017-01-16 13:00:22 +01:00
kl5kusb105.h
kobil_sct.c USB: serial: kobil_sct: simplify endpoint check 2017-03-16 10:33:44 +01:00
kobil_sct.h
Makefile USB: serial: add uPD78F0730 USB to Serial Adaptor Driver 2017-01-26 10:18:17 +01:00
Makefile-keyspan_pda_fw
mct_u232.c USB: serial: mct_u232: fix big-endian baud-rate handling 2017-05-15 11:51:15 +02:00
mct_u232.h
metro-usb.c USB: serial: metro-usb: drop redundant URB reinitialisation 2017-02-08 19:28:02 +01:00
mos7720.c USB: serial: constify static arrays 2017-04-19 09:45:43 +02:00
mos7840.c USB: serial: drop termios-flag debugging 2017-03-29 16:14:35 +02:00
mxuport.c USB: serial: mxuport: clean up port bulk-out setup 2017-03-28 11:14:13 +02:00
navman.c
omninet.c USB: serial: omninet: use generic write implementation 2017-03-28 11:13:55 +02:00
opticon.c USB: serial: opticon: simplify endpoint check 2017-03-16 10:33:45 +01:00
option.c USB: serial: option: add support for TP-Link LTE module 2017-09-18 10:41:02 +02:00
oti6858.c USB: serial: oti6858: simplify endpoint check 2017-03-16 10:33:46 +01:00
oti6858.h
pl2303.c USB: serial: pl2303: add new ATEN device id 2017-08-10 11:55:00 -07:00
pl2303.h USB: serial: pl2303: add new ATEN device id 2017-08-10 11:55:00 -07:00
qcaux.c
qcserial.c USB fixes for 4.13-rc1 2017-07-07 13:42:04 -07:00
quatech2.c USB: serial: quatech2: drop redundant tty_buffer_request_room 2017-04-10 09:42:00 +02:00
safe_serial.c USB: serial: safe_serial: move __inline__ before return type 2017-07-12 16:26:04 -07:00
sierra.c USB: serial: allow subdrivers to modify port-endpoint mapping 2017-03-28 10:54:39 +02:00
spcp8x5.c USB: serial: spcp8x5: simplify endpoint check 2017-03-16 10:33:46 +01:00
ssu100.c USB: serial: drop unused ASYNC flags 2017-01-26 09:49:13 +01:00
symbolserial.c USB: serial: symbolserial: simplify endpoint check 2017-03-16 10:33:47 +01:00
ti_usb_3410_5052.c USB: serial: drop termios-flag debugging 2017-03-29 16:14:35 +02:00
upd78f0730.c USB: serial: upd78f0730: make constants static 2017-06-01 11:07:50 +02:00
usb_debug.c USB patches for 4.12-rc1 2017-05-04 18:03:51 -07:00
usb_wwan.c USB: serial: fix invalid user-pointer checks 2016-11-11 17:54:04 +01:00
usb-serial-simple.c
usb-serial.c USB: serial: propagate late probe errors 2017-06-21 09:40:07 +02:00
usb-wwan.h
visor.c USB: serial: visor: clean up treo endpoint hack 2017-03-28 11:14:11 +02:00
visor.h
whiteheat.c USB: serial: whiteheat: simplify endpoint check 2017-03-16 10:33:47 +01:00
whiteheat.h
wishbone-serial.c
xsens_mt.c