USB: ftdi_sio: use ftdi_get_modem_status in chars_in_buffer
authorJohan Hovold <jhovold@gmail.com>
Mon, 29 Oct 2012 09:56:28 +0000 (10:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 20:19:32 +0000 (13:19 -0700)
commit5fb0432e64335bcf3f620e2d86a97fba0437c84b
treea5ad7d01729bf474289e273b603c983c0b07c247
parent8da636d9b5f3af354458f5b7eadaf51f23017fdc
USB: ftdi_sio: use ftdi_get_modem_status in chars_in_buffer

Use ftdi_get_modem_status to check hardware buffers in chars_in_buffer.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c