summary refs log tree commit diff
path: root/drivers/usb/otg
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-11-19 16:04:00 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-30 16:44:57 -0800
commit02303f73373aa1da19dbec510ec5a4e2576f9610 (patch)
tree965bb7f33b4c96fd543803d41248c962cb79958e /drivers/usb/otg
parent73f35c60d5c4a98061fc0f94505bf26fd4bb1a1c (diff)
downloadlinux-02303f73373aa1da19dbec510ec5a4e2576f9610.tar.gz
usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2)
Some devices (ex ZTE 2726) simply don't respond at all when data is sent
to some of their USB interfaces.  The data gets stuck in the TTYs queue
and sits there until close(2), which them blocks because closing_wait
defaults to 30 seconds (even though the fd is O_NONBLOCK).  This is
rarely desired.  Implement the standard mechanism to adjust closing_wait
and let applications handle it how they want to.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Diffstat (limited to 'drivers/usb/otg')
0 files changed, 0 insertions, 0 deletions