android_kernel_motorola_sm6225/drivers/usb/gadget
Savin Zlobec 4208978ec4 USB: gadget: Hangup tty on g_serial disconnect
On USB cable disconnect g_serial doesn't hangup the port tty,
which results in an endless read on the tty device. With the
following patch the read and select behave correctly when
the cable is unplugged.

Tested on at91rm9200

Signed-off-by: Savin Zlobec <savin@epiko.si>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-24 21:16:35 -07:00
..
amd5536udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
amd5536udc.h USB: amd5536 UDC driver (in GEODE southbridge) 2007-07-19 17:46:05 -07:00
at91_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
at91_udc.h USB: at91_udc uses generic GPIO calls; minor cleanup 2008-02-01 14:35:01 -08:00
atmel_usba_udc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/usba-2.6.26 into base 2008-04-19 20:38:41 -04:00
atmel_usba_udc.h atmel_usba_udc: Add support for AT91CAP9 UDPHS 2008-04-06 17:25:06 -04:00
config.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
dummy_hcd.c USB: dummy_hcd: change the default power budget 2008-02-01 14:34:55 -08:00
epautoconf.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
ether.c USB: gadget: queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message 2008-02-21 15:38:52 -08:00
file_storage.c d_path: Make d_path() use a struct path 2008-02-14 21:17:09 -08:00
fsl_usb2_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
fsl_usb2_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
gadget_chips.h USB: m66592-udc: fixes some problems 2007-07-19 17:46:05 -07:00
gmidi.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
goku_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
goku_udc.h USB: goku_udc trivial cleanups 2007-07-12 16:34:43 -07:00
inode.c USB: fix gadgetfs class request delegation 2008-03-24 22:26:14 -07:00
Kconfig atmel_usba_udc: Add support for AT91CAP9 UDPHS 2008-04-06 17:25:06 -04:00
lh7a40x_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
lh7a40x_udc.h USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
m66592-udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
m66592-udc.h USB: m66592-udc: reduce size of data structure. 2008-04-24 21:16:35 -07:00
Makefile USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c usb: net2280 can't have a function called show_registers() 2008-02-08 09:22:30 -08:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
omap_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
printer.c USB: remove incorrect struct class_device from the printer gadget 2008-03-04 14:57:44 -08:00
pxa2xx_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
pxa2xx_udc.h USB: pxa2xx_udc: fix misuse of clock enable/disable calls 2008-03-04 14:57:44 -08:00
rndis.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
rndis.h USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug 2007-04-27 13:28:40 -07:00
s3c2410_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
s3c2410_udc.h USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
serial.c USB: gadget: Hangup tty on g_serial disconnect 2008-04-24 21:16:35 -07:00
usbstring.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
zero.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00