USB: serial: refactor generic close
authorJohan Hovold <jhovold@gmail.com>
Wed, 17 Mar 2010 22:00:45 +0000 (23:00 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:33 +0000 (13:21 -0700)
commitf26788da3b342099d2b02d99ba1cb7f154d6ef7b
tree91b6af77130e5f93b9226254a651434af5d8340b
parentec3ee5086c1e1b883292eaf795b5c1b0c25bcffe
USB: serial: refactor generic close

Export usb_serial_generic_close so that drivers can easily kill the read
and write urb and make sure that the write fifo is reset.

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