summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/io_ti.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-01-14 16:52:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-18 15:45:17 -0800
commit810360a03597afc0d43a45798a52cfb69b8453d3 (patch)
tree977253346afd738d334a73de671cbd9f2102d809 /drivers/usb/serial/io_ti.c
parentfcdb6a21903bcab0b5f788ba7eb0c31dd06040fd (diff)
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>
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
0 files changed, 0 insertions, 0 deletions