USB: serial: clear fifo on close
authorJohan Hovold <jhovold@gmail.com>
Wed, 17 Mar 2010 22:00:44 +0000 (23:00 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:33 +0000 (13:21 -0700)
commitec3ee5086c1e1b883292eaf795b5c1b0c25bcffe
tree676df22a9390c9147f1c131d5a091cb4d498d812
parent50dbb8528757b1977efd5d270ed9d262cbbef87d
USB: serial: clear fifo on close

Make sure fifo is emptied on close.

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