aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-10-27 11:39:26 -0400
committerTony Lindgren <tony@atomide.com>2014-10-27 11:39:26 -0400
commit4984eeaf71f033d1ca6b644e4fcdef4b3e6a97b4 (patch)
treec907d6f5a185dbf0df3af720d2b0acc3b2716977 /arch/arm/mach-omap2/omap_hwmod.c
parent28db51f428bf284dc12a60a0c0a12fa522a530f5 (diff)
ARM: OMAP3+: PRM: add generic API for reconfiguring I/O chain
This adds a generic API for reconfiguring the I/O chain. The implementation will call the SoC specific function registered during init time. The SoC specific reconfigure functions are also made static, as they don't need to be accessed outside the PRM driver itself. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Paul Walmsley <paul@pwsan.com> Tested-by: Nishanth Menon <nm@ti.com> [tony@atomide.com: updated for recent omap3 prcm fixes] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index e8098ca28dc5..cedbbb5d4825 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -1984,10 +1984,7 @@ static void _reconfigure_io_chain(void)
1984 1984
1985 spin_lock_irqsave(&io_chain_lock, flags); 1985 spin_lock_irqsave(&io_chain_lock, flags);
1986 1986
1987 if (cpu_is_omap34xx()) 1987 omap_prm_reconfigure_io_chain();
1988 omap3xxx_prm_reconfigure_io_chain();
1989 else if (cpu_is_omap44xx())
1990 omap44xx_prm_reconfigure_io_chain();
1991 1988
1992 spin_unlock_irqrestore(&io_chain_lock, flags); 1989 spin_unlock_irqrestore(&io_chain_lock, flags);
1993} 1990}