Staging: quatech_usb2: write_room rewrite
commit89b5098d8ea97eb29c064a0e093f48b7618fc88e
authorRichard Ash <richard@audacityteam.org>
Mon, 17 Aug 2009 09:35:18 +0000 (17 10:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:36 +0000 (15 12:01 -0700)
tree8e2d4ecff474358799ada6eb6d956e34daf67e92
parent713e5f69d07ce6ff4ac9c2637ece4829a8127606
Staging: quatech_usb2: write_room rewrite

The following patch re-writes the write_room method to work in the
obvious sort of way, so it keeps it's promises to the layers above.
Based on feedback from Alan Cox.

Signed-off-by: Richard Ash <richard@audacityteam.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/quatech_usb2/quatech_usb2.c