diff options
| author | Johan Hovold <jhovold@gmail.com> | 2013-01-14 16:52:56 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-18 15:45:17 -0800 |
| commit | 810360a03597afc0d43a45798a52cfb69b8453d3 (patch) | |
| tree | 977253346afd738d334a73de671cbd9f2102d809 /tools/perf/scripts/python | |
| parent | USB: io_ti: use tty-port drain delay (diff) | |
| download | linux-810360a03597afc0d43a45798a52cfb69b8453d3.tar.gz linux-810360a03597afc0d43a45798a52cfb69b8453d3.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
