]> git.hungrycats.org Git - linux/commit
[PATCH] USB: ftdi_sio throttling fix
authorIan Abbott <abbotti@mev.co.uk>
Fri, 28 May 2004 06:28:41 +0000 (23:28 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 28 May 2004 06:28:41 +0000 (23:28 -0700)
commit283eb0630681c3f2dd19cc8c1c01b53887045a11
tree2a782acb355dd8c1b4f381ef1d41b9d1442a6c1d
parentae0c1536a7691a5341847fa00c5910b4467f9aaa
[PATCH] USB: ftdi_sio throttling fix

This patch fixes throttling problems in the ftdi_sio driver for the
2.6 kernel.  The old throttling mechanism (unlinking the read urb)
often failed to work, and even it did work, would lose any data
held in the transfer buffer.  The new mechanism presented here is
based on what the whitehead driver does (defer processing and
resubmitting of the read urb until unthrottled).

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/serial/ftdi_sio.c