Skip to content

Commit

Permalink
ARM: OMAP4: PRM: Correct wrong instance usage for reading reset sources
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ivan Khoronzhuk authored and Paul Walmsley committed Jan 2, 2013
1 parent 5f2596f commit d7eccab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/prm44xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d7eccab

Please sign in to comment.