ARM: tegra: Fix flow controller accesses
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Mon, 14 May 2012 10:27:09 +0000 (13:27 +0300)
committerStephen Warren <swarren@nvidia.com>
Mon, 14 May 2012 16:22:01 +0000 (10:22 -0600)
commit97e7abc5e04bea6a5db8d54ad34407bb46e85403
tree9e828cf6251c9fc3b5dce04439e1645ec8a98405
parent36be50515fe2aef61533b516fa2576a2c7fe7664
ARM: tegra: Fix flow controller accesses

flowctrl_write_cpu_csr uses the cpu halt offsets and vice versa. This patch
fixes this bug.

Reported-by: Dan Willemsen <dwillemsen@nvidia.com>
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
[swarren: This problem was introduced in v3.4-rc1, in commit 26fe681 "ARM:
 tegra: functions to access the flowcontroller", when this file was first
 added]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/flowctrl.c