projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3750411
)
Blackfin: add dma_disable_irq_nosync() API for irq handlers
author
Barry Song
<barry.song@analog.com>
Fri, 22 Jan 2010 10:07:30 +0000
(10:07 +0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:50 +0000
(
00:30
-0500)
Some IRQ handlers need to disable a DMA channel without waiting.
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/dma.h
patch
|
blob
|
history
diff --git
a/arch/blackfin/include/asm/dma.h
b/arch/blackfin/include/asm/dma.h
index bd2e62243abef01f2376eb3c7731153f9c795933..2c09b1d50ec99dbaae7afa7aad0d6caa623241ed 100644
(file)
--- a/
arch/blackfin/include/asm/dma.h
+++ b/
arch/blackfin/include/asm/dma.h
@@
-262,6
+262,10
@@
static inline void dma_disable_irq(unsigned int channel)
{
disable_irq(dma_ch[channel].irq);
}
+static inline void dma_disable_irq_nosync(unsigned int channel)
+{
+ disable_irq_nosync(dma_ch[channel].irq);
+}
static inline void dma_enable_irq(unsigned int channel)
{
enable_irq(dma_ch[channel].irq);