OpenCloudOS-Kernel/drivers/usb/serial
Alan Stern abf03184a3 USB: fix autosuspend bug in usb-serial
This patch (as1437) fixes a bug in the usb-serial autosuspend
handling.  Since the usb-serial core now has autosuspend support, it
must set the .supports_autosuspend member in every serial driver it
registers.  Otherwise the usb_autopm_get_interface() call won't work.

This fixes Bugzilla #23012.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: stable@kernel.org
Reported-by: Kevin Smith <thirdwiggin@gmail.com>
Reported-and-tested-by: Simon Gerber <gesimu@gmail.com>
Reported-and-tested-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-30 10:28:07 -08:00
..
ChangeLog.history trivial: Fix misspelling of firmware 2009-03-30 15:21:59 +02:00
Kconfig Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
Makefile usb: makefile cleanup 2010-10-22 10:22:07 -07:00
Makefile-keyspan_pda_fw
aircable.c USB: aircable: fix incorrect write-buffer length 2010-05-20 13:21:49 -07:00
ark3116.c tty: Convert the USB drivers to the new icount interface 2010-10-22 10:20:04 -07:00
belkin_sa.c USB: belkin_sa: implement line status handling 2010-05-20 13:21:48 -07:00
belkin_sa.h USB: belkin_sa.h: checkpatch cleanups 2010-05-20 13:21:46 -07:00
bus.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ch341.c USB: serial: refactor generic close 2010-05-20 13:21:33 -07:00
console.c usb-console: pass baud from console to the initial tty open 2010-05-20 13:21:32 -07:00
cp210x.c USB: cp210x: Add WAGO 750-923 Service Cable device ID 2010-10-22 10:22:06 -07:00
cyberjack.c USB: tty: Prune uses of tty_request_room in the USB layer 2010-03-02 14:55:12 -08:00
cypress_m8.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
cypress_m8.h USB: cypress_m8.h: checkpatch cleanups 2010-05-20 13:21:46 -07:00
digi_acceleport.c tty: Fix the digi acceleport driver NULL checks 2010-08-10 13:47:41 -07:00
empeg.c USB: empeg: reimplement using generic framework 2010-05-20 13:21:48 -07:00
ezusb.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ezusb_convert.pl
ftdi_sio.c USB: serial: ftdi_sio: Vardaan USB RS422/485 converter PID added 2010-11-30 10:26:30 -08:00
ftdi_sio.h USB: ftdi_sio: checkpatch cleanups 2010-05-20 13:21:46 -07:00
ftdi_sio_ids.h USB: serial: ftdi_sio: Vardaan USB RS422/485 converter PID added 2010-11-30 10:26:30 -08:00
funsoft.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
garmin_gps.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
generic.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2010-08-28 13:55:31 -07:00
hp4x.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
io_16654.h
io_edgeport.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
io_edgeport.h USB: io_edgeport: checkpatch cleanups 2010-05-20 13:21:47 -07:00
io_ionsp.h USB: io_edgeport: checkpatch cleanups 2010-05-20 13:21:47 -07:00
io_tables.h tty: Convert the USB drivers to the new icount interface 2010-10-22 10:20:04 -07:00
io_ti.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
io_ti.h USB: io_edgeport: checkpatch cleanups 2010-05-20 13:21:47 -07:00
io_usbvend.h USB: io_edgeport: checkpatch cleanups 2010-05-20 13:21:47 -07:00
ipaq.c Revert "USB: Adding support for HTC Smartphones to ipaq" 2010-08-10 14:35:35 -07:00
ipw.c USB: ipw: reimplement using generic framework 2010-05-20 13:21:46 -07:00
ir-usb.c USB: ir-usb: fix incorrect write-buffer length 2010-05-20 13:21:50 -07:00
iuu_phoenix.c Merge branch 'master' into for-next 2010-08-11 09:36:51 +02:00
iuu_phoenix.h USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
keyspan.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
keyspan.h Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
keyspan_pda.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
kl5kusb105.h USB: kl5kusb105.h: checkpatch cleanups 2010-05-20 13:21:47 -07:00
kobil_sct.c USB: kobil: fix memory leak 2010-05-20 13:21:47 -07:00
kobil_sct.h USB: kobil_sct.h: checkpatch cleanups 2010-05-20 13:21:47 -07:00
mct_u232.c USB: mct_u232: fix broken close 2010-10-22 10:22:19 -07:00
mct_u232.h Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
mos7720.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
mos7840.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
moto_modem.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
navman.c USB: add device IDs for igotu to navman 2010-08-23 20:50:15 -07:00
omninet.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
opticon.c USB: opticon: Whitespace fixes in opticon driver 2010-10-22 10:22:10 -07:00
option.c USB: option: fix when the driver is loaded incorrectly for some Huawei devices. 2010-11-11 07:01:48 -08:00
oti6858.c USB: oti6858: use port write fifo 2010-05-20 13:21:49 -07:00
oti6858.h
pl2303.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2010-08-28 13:55:31 -07:00
pl2303.h USB: pl2303: New vendor and product id 2010-08-23 20:50:15 -07:00
qcaux.c USB: qcaux: add Samsung U520 device ID 2010-05-20 13:21:40 -07:00
qcserial.c USB: qcserial: Enable Diagnostics Monitor and GPS ports on Gobi 2000 2010-10-22 10:21:49 -07:00
safe_serial.c USB: safe_serial: straighten out read processing 2010-05-20 13:21:49 -07:00
sam-ba.c USB: sam-ba: add driver for Atmel SAM Boot Assistant (SAM-BA) 2010-10-22 10:21:20 -07:00
siemens_mpi.c USB serial: make USB device id constant 2010-03-02 14:54:16 -08:00
sierra.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
spcp8x5.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
ssu100.c tty: Fix warning left over from TIOCGICOUNT changes 2010-10-22 10:20:05 -07:00
symbolserial.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ti_usb_3410_5052.c tty: Convert the USB drivers to the new icount interface 2010-10-22 10:20:04 -07:00
ti_usb_3410_5052.h USB: ti_usb_3410_5052: adding multitech dialup fax/modem devices 2010-04-22 15:18:20 -07:00
usb-serial.c USB: fix autosuspend bug in usb-serial 2010-11-30 10:28:07 -08:00
usb-wwan.h usb serial: Add generic USB wwan support 2010-05-20 13:21:37 -07:00
usb_debug.c USB: usb_debug: set bulk out size at probe 2010-05-20 13:21:49 -07:00
usb_wwan.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
visor.c USB: visor: fix initialisation of UX50/TH55 devices 2010-10-22 10:22:08 -07:00
visor.h USB: visor.h: checkpatch cleanups 2010-05-20 13:21:47 -07:00
vivopay-serial.c USB: serial: Add support for ViVOtech ViVOpay devices. 2010-03-02 14:54:57 -08:00
whiteheat.c drivers/usb: Remove unnecessary return's from void functions 2010-08-10 14:25:42 +02:00
whiteheat.h whiteheat: coding style 2008-07-22 13:03:22 -07:00
zio.c USB Serial Driver: ZIO Motherboard 2010-05-20 13:21:32 -07:00