USB: serial: clean up generic write start busy test
commit50a5f70cee11636908711abd339f5c5933375a7d
authorJohan Hovold <jhovold@gmail.com>
Wed, 17 Mar 2010 22:06:02 +0000 (17 23:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:34 +0000 (20 13:21 -0700)
tree1145c5d38c20f9ad34df98f78b72fe0ce46314d8
parent1a1405e22563151de79fdc83aa5e5815d10f0291
USB: serial: clean up generic write start busy test

Submit write urb if it is not already in use and we have buffered data.

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