]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: rcar-dmac: clear pertinence number of channels
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 3 Mar 2016 08:25:53 +0000 (17:25 +0900)
committerVinod Koul <vinod.koul@intel.com>
Thu, 3 Mar 2016 16:21:14 +0000 (21:51 +0530)
commit0d7c603b1de36e63b9b124fc9f8f83f33a50cb0d
treee1f4dc988c3338626c26580825fc7fbe4381dede
parentd8bc356b1c44d0f741e3ae16002b737c4ff5f182
dmaengine: rcar-dmac: clear pertinence number of channels

DMACHCLR clears each channels, but its channel number is based on
its SoC or IP. Current driver is using fixed 0x7fff (= for 15ch),
it is not good match for Gen3 or Gen2 Audio DMAC. This patch fixes it

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-dmac.c