diff options
author | Savin Zlobec <savin@epiko.si> | 2008-02-15 15:42:01 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 08:16:35 +0400 |
commit | 4208978ec4f0d6001facf95be9defccf1a0bf313 (patch) | |
tree | 0ba2aa83a81e365500954708f7f07c459d861dbd /drivers/usb/serial/io_ti.c | |
parent | c765d4cad977f7e454a53d5bca5a942156b2d94c (diff) | |
download | linux-4208978ec4f0d6001facf95be9defccf1a0bf313.tar.xz |
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>
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
0 files changed, 0 insertions, 0 deletions