diff options
author | Lars-Peter Clausen <[email protected]> | 2020-01-16 15:29:01 +0200 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2020-02-11 08:45:45 +0200 |
commit | 43d565727a3a6fd24e37c7c2116475106af71806 (patch) | |
tree | 19403ca4f7fb79f71d671df4f26ce27c597b185d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9a0d6f7c0a83844baae1d6d85482863d2bf3b7a7 (diff) |
usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
ffs_aio_cancel() can be called from both interrupt and thread context. Make
sure that the current IRQ state is saved and restored by using
spin_{un,}lock_irq{save,restore}().
Otherwise undefined behavior might occur.
Acked-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Alexandru Ardelean <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions