USB: spcp8x5: add proper modem-status support
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:37:30 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:52:28 +0000 (13:52 -0700)
commite1ed212d8593f8d5036709ae257e0e019dbecd4f
tree40a13bc9518f5aa51d99eb1ee69d1b8347d89dff
parent4d63143db1426342f186cfe258db73571bf57897
USB: spcp8x5: add proper modem-status support

Fetch modem status on carrier_raised and tiocmget.

This driver appeared to support modem-status but only read the modem
status registers once at open and then used that cached value for all
further enquires.

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