Johan Hovold 810360a035 USB: serial: grab disconnect mutex in chars_in_buffer
Grab disconnect mutex in chars_in_buffer before checking disconnected
flag or calling driver specific function.

This allows subdrivers to query any hardware buffer status without
having to handle the locking themselves.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-18 15:45:17 -08:00
..
2012-11-21 13:27:16 -08:00
2012-10-25 09:36:57 -07:00
2012-10-01 13:23:01 -07:00
2011-03-31 11:26:23 -03:00
2013-01-18 15:45:17 -08:00
2010-05-20 13:21:47 -07:00
2012-10-01 13:23:01 -07:00
2011-11-15 10:06:15 -08:00
2012-11-16 18:46:21 -08:00
2010-05-20 13:21:47 -07:00
2012-09-13 10:15:14 -07:00