Browse Source

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>
Ivan Khoronzhuk 12 years ago
parent
commit
d7eccab909
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-omap2/prm44xx.c

+ 1 - 1
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;