Commit d7eccab9 authored by Ivan Khoronzhuk's avatar Ivan Khoronzhuk Committed by Paul Walmsley

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: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 5f2596fc
...@@ -333,7 +333,7 @@ static u32 omap44xx_prm_read_reset_sources(void) ...@@ -333,7 +333,7 @@ static u32 omap44xx_prm_read_reset_sources(void)
u32 r = 0; u32 r = 0;
u32 v; 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); OMAP4_RM_RSTST);
p = omap44xx_prm_reset_src_map; p = omap44xx_prm_reset_src_map;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment