USB: safe_serial: straighten out read processing
authorJohan Hovold <jhovold@gmail.com>
Tue, 18 May 2010 22:01:32 +0000 (00:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:49 +0000 (13:21 -0700)
commit6d1bf48e240bde4e9c7313ccdd2fe32f37f67ad4
treee2fd1e7a4d65f2ec1fd29f3aa26471a0f40c4833
parent12e2e52cc578714d5824a27dd1a131a5418d636b
USB: safe_serial: straighten out read processing

Clean up read processing logic.

Tested using a cp210x device in a loopback setup.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/safe_serial.c