diff options
| author | Johan Hovold <[email protected]> | 2014-05-26 19:23:41 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-05-27 15:04:09 -0700 |
| commit | 183a45087d126d126e8dd1d9b2602fc129dff9ad (patch) | |
| tree | 39076939fe47eeeaf46f211c484ef843014d8e54 /tools/perf/scripts/python/syscall-counts.py | |
| parent | ed797074031a37bb9bf4a70952fffc606b77274d (diff) | |
USB: cdc-acm: fix potential urb leak and PM imbalance in write
Make sure to check return value of autopm get in write() in order to
avoid urb leak and PM counter imbalance on errors.
Fixes: 11ea859d64b6 ("USB: additional power savings for cdc-acm devices
that support remote wakeup")
Cc: <[email protected]> # v2.6.27
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions