]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92b8d8acf8983a2c46507db013a336faab870cdf
tree40a13bc9518f5aa51d99eb1ee69d1b8347d89dff
parent7d6267948909ddd59dea6ccf1d2357ac13e9c433
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