projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2596f
)
ARM: OMAP4: PRM: Correct wrong instance usage for reading reset sources
author
Ivan Khoronzhuk
<ivan.khoronzhuk@ti.com>
Fri, 28 Dec 2012 09:09:51 +0000
(
02:09
-0700)
committer
Paul Walmsley
<paul@pwsan.com>
Wed, 2 Jan 2013 19:07:16 +0000
(12:07 -0700)
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>
arch/arm/mach-omap2/prm44xx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/prm44xx.c
b/arch/arm/mach-omap2/prm44xx.c
index e335216ac0ebe44aab19439adacd816e0568482d..c05a343d465dcc1374a7c3a19142ca2e75d77517 100644
(file)
--- 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;