[PATCH 0/4]: USB: ftdi_sio: fix regression in 2.6.31 and clean up

From: Johan Hovold
Date: Wed Oct 07 2009 - 14:07:50 EST


Hi,

These patches clean up the ftdi_sio driver and fixes

1) a long outstanding bug manifesting itself as

BUG: sleeping function called from invalid context at kernel/mutex.c:280

2) a couple of regressions in 2.6.31 (stalled reads and unthrottle race)
due to changes in the tty layer.

Please have a look at it so we can get something back-ported to stable as the
ftdi_sio driver is currently completly broken and unusable due to the stalled
reads.

Note that the patches do not add suspend/resume support to the driver (but the
clean up should make it easier to implement).

Thanks to Alan Cox, Oliver Neukum, and Alan Stern for all comments and
suggestions so far.

Thanks,
Johan


drivers/usb/serial/ftdi_sio.c | 422 +++++++++++++----------------------------
1 files changed, 129 insertions(+), 293 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/