diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-03-09 11:42:16 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-03-17 18:34:05 +0300 |
commit | f339fc16fba0167d67c4026678ef4c405bca3085 (patch) | |
tree | 5d11b41d1854062d50f6ef05d70bbfd40cbf7bca /drivers/pnp | |
parent | be4017cea0aec6369275df7eafbb09682f810e7e (diff) | |
download | linux-f339fc16fba0167d67c4026678ef4c405bca3085.tar.xz |
firewire: ohci: Use tasklet_disable_in_atomic() where required
tasklet_disable() is invoked in several places. Some of them are in atomic
context which prevents a conversion of tasklet_disable() to a sleepable
function.
The atomic callchains are:
ar_context_tasklet()
ohci_cancel_packet()
tasklet_disable()
...
ohci_flush_iso_completions()
tasklet_disable()
The invocation of tasklet_disable() from at_context_flush() is always in
preemptible context.
Use tasklet_disable_in_atomic() for the two invocations in
ohci_cancel_packet() and ohci_flush_iso_completions().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210309084242.616379058@linutronix.de
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions