diff options
author | 2014-06-10 11:05:43 +0200 | |
---|---|---|
committer | 2014-06-10 11:05:43 +0200 | |
commit | 0ccf091d1fbc1f99bb7f93bff8cf346769a9b0cd (patch) | |
tree | 6423de601e8ee6eb56bc79403d6a05351e735ade /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid into next (diff) | |
download | linux-dev-0ccf091d1fbc1f99bb7f93bff8cf346769a9b0cd.tar.xz linux-dev-0ccf091d1fbc1f99bb7f93bff8cf346769a9b0cd.zip |
HID: sensor-hub: make dyn_callback_lock IRQ-safe
dyn_callback_lock is being taken from IRQ context through hid_irq_in() ->
hid_input_report() -> sensor_hub_raw_event() -> sensor_hub_get_callback(),
therefore anyone else acquiring it needs to disable IRQs to disable deadlocks.
Reported-by: Alexander Holler <holler@ahsoftware.de>
Tested-by: Alexander Holler <holler@ahsoftware.de>
Reported-by: Reyad Attiyat <reyad.attiyat@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions