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