Blackfin: add dma_disable_irq_nosync() API for irq handlers
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>
This commit is contained in:
parent
3750411fb7
commit
4ab069e535
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue