]> asedeno.scripts.mit.edu Git - linux.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)
commit20c169aceb459575681c4f4578d0e312bd1436c1
treee1f4dc988c3338626c26580825fc7fbe4381dede
parent6fb5629987239c6a8438fab8fd324b7724e49453
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