dmaengine/amba-pl08x: Schedule tasklet in case of error interrupt
commit28da28365da3f3bea1d4b7212a8a40e4b9ac3229
authorViresh Kumar <viresh.kumar@st.com>
Fri, 5 Aug 2011 10:02:36 +0000 (5 15:32 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 25 Aug 2011 14:03:38 +0000 (25 19:33 +0530)
treea754c7ca42975d547ee1a16c7a4f3582a4851b55
parent16ca8105040217acf5b4b506d04bb933fb3a76af
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