summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>2012-12-28 02:09:51 -0700
committerPaul Walmsley <paul@pwsan.com>2013-01-02 12:07:16 -0700
commitd7eccab90996cf213e5cd007e1271e2e1ea9ec34 (patch)
treea6a49a9bf40a5427edd48de4d3cc523cc5c27560 /arch
parent5f2596fc720e252f37aa35827f016bae96d6e531 (diff)
downloadop-kernel-dev-d7eccab90996cf213e5cd007e1271e2e1ea9ec34.zip
op-kernel-dev-d7eccab90996cf213e5cd007e1271e2e1ea9ec34.tar.gz
ARM: OMAP4: PRM: Correct wrong instance usage for reading reset sources
To read reset sources registers we have to use PRM_DEVICE_INST Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/prm44xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c
index e335216..c05a343 100644
--- a/arch/arm/mach-omap2/prm44xx.c
+++ b/arch/arm/mach-omap2/prm44xx.c
@@ -333,7 +333,7 @@ static u32 omap44xx_prm_read_reset_sources(void)
u32 r = 0;
u32 v;
- v = omap4_prm_read_inst_reg(OMAP4430_PRM_OCP_SOCKET_INST,
+ v = omap4_prm_read_inst_reg(OMAP4430_PRM_DEVICE_INST,
OMAP4_RM_RSTST);
p = omap44xx_prm_reset_src_map;
OpenPOWER on IntegriCloud