Hi Laurent > When freeing channel resources we need to ensure that no IRQ will occur > for the given channel. In order to do so the driver stops the hardware, > but an IRQ handler could still be running, especially given that the > channel IRQ is threaded. Fix it by waiting for pending IRQs completion > with synchronize_irq() > > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx> > --- > drivers/dma/sh/rcar-dmac.c | 37 +++++++++++++++++++------------------ > 1 file changed, 19 insertions(+), 18 deletions(-) > > Hi Morimoto-san, > > This patch is compile-tested only. Would you be able to check if it fixes the > issue you've reported with SDHI and rcar-dmac ? Thanks. I will ask to BSP team -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html