]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: sh7372: bugfix: chclr_offset base
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 20 Jun 2012 09:30:32 +0000 (11:30 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 20 Jun 2012 09:30:32 +0000 (11:30 +0200)
commit7fcf6a9c02d78fd585ae883b69c6d97b3759cb24
treeab575c30429afc2293e63c3ca0906e9d51a8a593
parent8f56fc8ccf63f44e9224178b46931b9159bd059e
ARM: shmobile: sh7372: bugfix: chclr_offset base

chclr_write() will use (chan_reg + chclr_offset).
In sh7372 case, DMA1CHCLR is started from 0xfe008220,
and chan_reg is started from 0xfe008020 (= sh7372_dmae0_resources).
Thus, chclr_offset should be (0x220 - 0x20) instead of 0x220.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-shmobile/setup-sh7372.c