android_kernel_xiaomi_sm8350/drivers/usb/serial
Brad Sawatzky d04863e9e6 USB: serial: fix regression in Visor/Palm OS module for kernels >= 2.6.24
Fixes a bug/inconsistency revealed by the additional sanity checking in
   commit 063a2da8f0
introduced in the original 2.6.24 branch.

The Handspring Visor / PalmOS 4 device structure defines .num_bulk_out=2
but the usb-serial probe returns num_bulk_out=3, triggering the check in
the above commit and forcing a bail out when the device (a Garmin iQue in
my case) attempts to connect.  The patch bumps the expected number of
endpoints to 3.

FWIW, this patch will probably solve the following kernel bug report for
Treo users (identical symptoms, different model PalmOS units):
  <http://bugzilla.kernel.org/show_bug.cgi?id=10118>


Signed-off-by: Brad Sawatzky <brad+kernel@swatter.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-02 15:06:09 -07:00
..
aircable.c
airprime.c USB: more serial drivers writing after disconnect 2008-02-01 14:35:05 -08:00
ark3116.c USB: fix memleak in ark3116 serial driver 2008-02-01 14:35:04 -08:00
belkin_sa.c USB: belkin_sa: clean up for new style termios and speed handling, plus style 2008-02-01 14:34:56 -08:00
belkin_sa.h
bus.c usb-serial: show port number in sysfs 2007-10-12 14:55:20 -07:00
ch341.c USB: ch341: fix termios handling 2007-10-25 12:18:40 -07:00
ChangeLog.history Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
console.c USB: usb_serial_console: allocate fake tty and termios before calling driver open() method 2008-02-01 14:34:50 -08:00
cp2101.c USB: cp2101: Add identifiers for the Telegesys ETRX2USB 2008-04-02 15:06:09 -07:00
cyberjack.c USB: cyberjack: remove a unnecessary variable. 2008-02-01 14:34:51 -08:00
cypress_m8.c USB: cypress_m8: add UPS Powercom (0d9f:0002) 2008-03-10 16:42:25 -07:00
cypress_m8.h USB: cypress_m8: add UPS Powercom (0d9f:0002) 2008-03-10 16:42:25 -07:00
digi_acceleport.c USB: last abuses of intfdata in close for usb-serial drivers 2008-02-01 14:35:05 -08:00
empeg.c USB: empeg: clean up and handle speeds 2007-10-25 12:18:41 -07:00
ezusb_convert.pl
ezusb.c USB: usbserial: provide ezusb functions for an external module. 2008-02-01 14:35:03 -08:00
ftdi_sio.c USB: new ftdi_sio device id 2008-03-10 16:42:27 -07:00
ftdi_sio.h USB: new ftdi_sio device id 2008-03-10 16:42:27 -07:00
funsoft.c USB: funsoft: Fix termios 2007-10-12 14:55:32 -07:00
garmin_gps.c USB: more serial drivers writing after disconnect 2008-02-01 14:35:05 -08:00
generic.c USB: fix usb-serial generic recursive lock 2008-03-10 16:42:25 -07:00
hp4x.c
io_16654.h
io_edgeport.c USB: Spelling fixes 2008-02-01 14:34:57 -08:00
io_edgeport.h
io_fw_boot2.h
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h
io_fw_down.h
io_ionsp.h
io_tables.h
io_ti.c USB: io_ti: clean up termios handling 2008-02-01 14:35:00 -08:00
io_ti.h
io_usbvend.h
ipaq.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
ipaq.h
ipw.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
ir-usb.c USB: ir_usb: termios handling 2007-10-25 12:18:41 -07:00
iuu_phoenix.c USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
iuu_phoenix.h USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
Kconfig USB: Use menuconfig objects 2008-02-01 14:35:06 -08:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c USB: keyspan_pda: clean up speed handling 2008-02-01 14:34:56 -08:00
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: keyspan: Fix oops 2008-02-01 14:34:42 -08:00
keyspan.h
kl5kusb105.c USB: kl5kusb105 don't flush to logically disconnected devices 2008-02-01 14:35:05 -08:00
kl5kusb105.h
kobil_sct.c USB: Fix usb_serial_driver structure for Kobil cardreader driver. 2008-02-01 14:35:06 -08:00
kobil_sct.h
Makefile USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
Makefile-keyspan_pda_fw
mct_u232.c USB: make sure usb serial drivers don't flush to logically disconnected devices 2008-02-01 14:35:04 -08:00
mct_u232.h USB: mct232: speed, new termios and compliance cleanups 2008-02-01 14:34:56 -08:00
mos7720.c USB: stop io performed by mos7720 upon close() 2008-02-01 14:35:03 -08:00
mos7840.c usb: Add support for the mos7820/7840-based B&B USB/RS485 converter to mos7840.c 2008-03-04 14:57:42 -08:00
navman.c
omninet.c
option.c USB: option: add novatel device ids 2008-03-10 16:42:26 -07:00
oti6858.c USB: last abuses of intfdata in close for usb-serial drivers 2008-02-01 14:35:05 -08:00
oti6858.h
pl2303.c USB: pl2303: another product ID 2008-03-24 22:26:14 -07:00
pl2303.h USB: pl2303: another product ID 2008-03-24 22:26:14 -07:00
safe_serial.c USB: Remove dead references to "SAFE_SERIAL" CONFIG variables. 2007-10-12 14:54:59 -07:00
sierra.c USB: sierra: add another device id 2008-03-24 22:26:15 -07:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: Correct TUSB3410 endpoint requirements. 2008-04-02 15:06:08 -07:00
ti_usb_3410_5052.h
usb_debug.c
usb-serial.c USB: stop io performed by mos7720 upon close() 2008-02-01 14:35:03 -08:00
visor.c USB: serial: fix regression in Visor/Palm OS module for kernels >= 2.6.24 2008-04-02 15:06:09 -07:00
visor.h
whiteheat_fw.h
whiteheat.c USB: make sure usb serial drivers don't flush to logically disconnected devices 2008-02-01 14:35:04 -08:00
whiteheat.h
xircom_pgs_fw.h
xircom_pgs.S