dmaengine: shdma: add chcr_write/read function
commit5899a723b336da241b492583d7e55f1055f8f3b3
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 17 Jun 2011 08:20:40 +0000 (17 08:20 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 21 Jun 2011 08:55:57 +0000 (21 17:55 +0900)
tree3d75b8d88a99e277779325790903a76913a3e2d9
parent090b91805a97f58a7deff0f2b40aad1cc2f1b7e0
dmaengine: shdma: add chcr_write/read function

CHCR register position is not same in all DMAC.
This patch adds new "chcr_offset" to decide it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/dma/shdma.c
drivers/dma/shdma.h
include/linux/sh_dma.h