Staging: quatech_usb2: chars_in_buffer() fix
authorRichard Ash <richard@audacityteam.org>
Mon, 17 Aug 2009 09:43:49 +0000 (10:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:36 +0000 (12:01 -0700)
commit2feb633d6580d8e6a61890bef1c0ea9020e61225
treea2cb3707bacbf2ebf37ec848f16b0b6692c8087c
parentdbe2481580a6933c07627d4da0d20db5fd05a044
Staging: quatech_usb2: chars_in_buffer() fix

It seems I can't count.

Patch to fix chars_in_buffer() method (broken in vendor driver), and
subsequently simplify the close() method, making it somewhat less
broken. There is quite a bit more improvement to do on this method
though.

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