dmaengine: rcar-dmac: don't use DMAC error interrupt
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 Jun 2018 00:53:33 +0000 (00:53 +0000)
committerVinod Koul <vkoul@kernel.org>
Thu, 28 Jun 2018 04:21:09 +0000 (09:51 +0530)
commit9203dbec90a68103644ad9bf3ccf16461d67fcac
tree791d8bef7165978445368d5cf70b08befe09940d
parenteb9fe6029ad49469b072a09a7fbfab34661e171a
dmaengine: rcar-dmac: don't use DMAC error interrupt

rcar-dmac has 2 types of interrupt, 1) error IRQ (for all),
2) IRQ for each channels.
If error happens on some channels, the error IRQ will be handled
by 1), and "all" channels will be restarted.
But in this design, error handling itself will be problem for
non error channel users.
This patch removes 1) handler, and handles error IRQ on 2)

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
[Kuninori: updated patch to adjust DMACHCR/DMAOR]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Nguyen Viet Dung <nv-dung@jinso.co.jp>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rcar-dmac.c