diff options
author | Tero Kristo <t-kristo@ti.com> | 2017-10-30 11:11:04 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-10-30 09:14:55 -0700 |
commit | 6301d58477bc11116c78c9542871f27ae374278d (patch) | |
tree | e0067591f4296fa9943577750360073a6d41adfb /arch/arm/mach-omap2/prcm-common.h | |
parent | 3c4d296e58a23687f2076d8ad531e6ae2b725846 (diff) | |
download | talos-obmc-linux-6301d58477bc11116c78c9542871f27ae374278d.tar.gz talos-obmc-linux-6301d58477bc11116c78c9542871f27ae374278d.zip |
ARM: OMAP2/3: CM: fix cm_split_idlest functionality
cm_split_idlest doesn't take the CM base offset into account right now,
causing it to read reserved registers which show idlestatus as active
always. This will cause the wait_module_ready functionality to be
effectively an expensive NOP, which will cause problems if the
module hasn't really activated during its execution. Fix by adding
the CM offset into the calculation so the wait_module_ready will
access correct register.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reported-by: Filip Matijevic <filip.matijevic.pz@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/prcm-common.h')
-rw-r--r-- | arch/arm/mach-omap2/prcm-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prcm-common.h b/arch/arm/mach-omap2/prcm-common.h index ee7041d523cf..ac9ee2ef3471 100644 --- a/arch/arm/mach-omap2/prcm-common.h +++ b/arch/arm/mach-omap2/prcm-common.h @@ -529,6 +529,7 @@ struct omap_prcm_irq_setup { struct omap_domain_base { u32 pa; void __iomem *va; + s16 offset; }; /** |