]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit803589d5a59a02d17a0fd205f4328646890d67e9
tree3d75b8d88a99e277779325790903a76913a3e2d9
parentf8a9d03efa1765b5e5580acff3e1325439a2674d
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