Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ab069e5 authored by Barry Song's avatar Barry Song Committed by Mike Frysinger
Browse files

Blackfin: add dma_disable_irq_nosync() API for irq handlers



Some IRQ handlers need to disable a DMA channel without waiting.

Signed-off-by: default avatarBarry Song <barry.song@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 3750411f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);