diff options
author | Haitao Zhang <minipanda@linuxrobot.org> | 2012-01-01 11:30:06 +0800 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-01-06 11:31:56 +0530 |
commit | f69f2e264f6388df6d3cae45dd67ddfd52aaa14b (patch) | |
tree | 27c736df90bf30d31d69ec6e8263f3e26b869291 /include/linux/sh_dma.h | |
parent | e9f3a49c9698da6f6b606d5e048ddce308438763 (diff) | |
download | linux-stable-f69f2e264f6388df6d3cae45dd67ddfd52aaa14b.tar.gz linux-stable-f69f2e264f6388df6d3cae45dd67ddfd52aaa14b.tar.bz2 linux-stable-f69f2e264f6388df6d3cae45dd67ddfd52aaa14b.zip |
dma/imx-sdma: save irq flags when use spin_lock in sdma_tx_submit
mx53_loco: fix deadlock report from sdma_tx_submit() during boot
BugLink: http://bugs.launchpad.net/bugs/878701
Adjust to use spin_lock_irqsave()/spin_unlock_irqresotre(), so to
make it safe when called from interrupt context.
Signed-off-by: Haitao Zhang <haitao.zhang@linaro.org>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'include/linux/sh_dma.h')
0 files changed, 0 insertions, 0 deletions