]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine/amba-pl08x: Schedule tasklet in case of error interrupt
authorViresh Kumar <viresh.kumar@st.com>
Fri, 5 Aug 2011 10:02:36 +0000 (15:32 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 25 Aug 2011 14:03:38 +0000 (19:33 +0530)
commit7c0297470b30e00b85003bac4828bc3037af845f
treea754c7ca42975d547ee1a16c7a4f3582a4851b55
parent4d100e3dc602602f5031c45366671d1c02a0ef6c
dmaengine/amba-pl08x: Schedule tasklet in case of error interrupt

Currently, if error interrupt occurs, nothing is done in interrupt handler (just
clearing the interrupts). We must somehow indicate this to the user that DMA is
over, due to ERR interrupt or TC interrupt.

So, this patch just schedules existing tasklet, with a print showing error
interrupt has occurred on which channels.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c