diff options
| author | Karl Relton <[email protected]> | 2013-02-20 18:16:19 +0000 |
|---|---|---|
| committer | Gustavo Padovan <[email protected]> | 2013-03-08 10:38:44 -0300 |
| commit | fd86c9becc1154ee5643caafedf7cbdf8241c176 (patch) | |
| tree | 0747aab373c6c355dedd849d692b5499f59c65e9 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | bed71748346ae0807c7f7a2913965508dbd61403 (diff) | |
Bluetooth: Make hidp_get_raw_report abort if the session is terminating
After linux 3.2 the hid_destroy_device call in hidp_session
cleaning up invokes a hook to the power_supply code which
in turn tries to read the battery capacity. This read will
trigger a call to hidp_get_raw_report which is bound to fail
because the device is being taken away - so rather than
wait for the 5 second timeout failure this changes enables
it to fail straight away.
Signed-off-by: Karl Relton <[email protected]>
Reviewed-by: David Herrmann <[email protected]>
Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions