]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit846ca69bc6e8ff454eaeb1c9b2095ad2222cd1d1
tree791d8bef7165978445368d5cf70b08befe09940d
parent9d1154d0cb8a283abffd724431a7aa1c2631b830
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