diff options
author | Nicolas Ferre <[email protected]> | 2011-07-27 12:21:28 +0000 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2011-08-19 18:39:48 +0530 |
commit | d8cb04b070c2a55f7201714d231cff4f8f9fbd16 (patch) | |
tree | cf5e6ee10c1e05ef0c61cc3bd2fa2538dfba2756 /net/lapb/lapb_subr.c | |
parent | ef298c21c0d9c06ed89ea2fa724c3a018acfff39 (diff) |
dmaengine: at_hdmac: replace spin_lock* with irqsave variants
dmaengine routines can be called from interrupt context and with
interrupts disabled. Whereas spin_unlock_bh can't be called from
such contexts. So this patch converts all spin_lock* routines
to irqsave variants.
Also, spin_lock() used in tasklet is converted to irqsave variants,
as tasklet can be interrupted, and dma requests from such interruptions
may also call spin_lock.
Idea from dw_dmac patch by Viresh Kumar.
Signed-off-by: Nicolas Ferre <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions