diff options
author | Johan Hovold <[email protected]> | 2020-10-25 18:45:48 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2020-11-04 11:01:08 +0100 |
commit | 7353cad7ee4deaefc16e94727e69285563e219f6 (patch) | |
tree | ec988e47ed724ba1961112b6efdff04c7e308e59 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 696c541c8c6cfa05d65aa24ae2b9e720fc01766e (diff) |
USB: serial: keyspan_pda: fix write deadlock
The write() callback can be called in interrupt context (e.g. when used
as a console) so interrupts must be disabled while holding the port lock
to prevent a possible deadlock.
Fixes: e81ee637e4ae ("usb-serial: possible irq lock inversion (PPP vs. usb/serial)")
Fixes: 507ca9bc0476 ("[PATCH] USB: add ability for usb-serial drivers to determine if their write urb is currently being used.")
Cc: stable <[email protected]> # 2.6.19
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions