]> 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)
commit29f7990572e699032dc52b1fb1c8cc6ec9bd266f
treea754c7ca42975d547ee1a16c7a4f3582a4851b55
parent20766c5ec88b3c6ef94c5802809c13adc1e918dc
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