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:23 -0400
committerTony Lindgren <tony@atomide.com>2014-10-27 11:39:23 -0400
commit9907f85eb27d98c2184a56f3b636cb82536807a0 (patch)
tree15b7771a6bb7f686f2be9bfc7bed0d32fa4c5318 /arch/arm/mach-omap2/omap_hwmod.c
parent9002e921aa9a97de9de86fad34917c573dfc822b (diff)
ARM: AM33xx/OMAP4+: CM: remove cdoffs parameter from wait_module_idle/ready
This is not needed for anything. This also eases the consolidation of the wait_module_ready / wait_module_idle calls behind a generic CM driver API by reducing the number of needed parameters. Signed-off-by: Tero Kristo <t-kristo@ti.com> Tested-by: Nishanth Menon <nm@ti.com> 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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index 67bf7274ce89..2dca1a896943 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -1028,7 +1028,6 @@ static int _omap4_wait_target_disable(struct omap_hwmod *oh)
1028 1028
1029 return omap4_cminst_wait_module_idle(oh->clkdm->prcm_partition, 1029 return omap4_cminst_wait_module_idle(oh->clkdm->prcm_partition,
1030 oh->clkdm->cm_inst, 1030 oh->clkdm->cm_inst,
1031 oh->clkdm->clkdm_offs,
1032 oh->prcm.omap4.clkctrl_offs); 1031 oh->prcm.omap4.clkctrl_offs);
1033} 1032}
1034 1033
@@ -1053,7 +1052,6 @@ static int _am33xx_wait_target_disable(struct omap_hwmod *oh)
1053 return 0; 1052 return 0;
1054 1053
1055 return am33xx_cm_wait_module_idle(oh->clkdm->cm_inst, 1054 return am33xx_cm_wait_module_idle(oh->clkdm->cm_inst,
1056 oh->clkdm->clkdm_offs,
1057 oh->prcm.omap4.clkctrl_offs); 1055 oh->prcm.omap4.clkctrl_offs);
1058} 1056}
1059 1057
@@ -2977,7 +2975,6 @@ static int _omap4_wait_target_ready(struct omap_hwmod *oh)
2977 2975
2978 return omap4_cminst_wait_module_ready(oh->clkdm->prcm_partition, 2976 return omap4_cminst_wait_module_ready(oh->clkdm->prcm_partition,
2979 oh->clkdm->cm_inst, 2977 oh->clkdm->cm_inst,
2980 oh->clkdm->clkdm_offs,
2981 oh->prcm.omap4.clkctrl_offs); 2978 oh->prcm.omap4.clkctrl_offs);
2982} 2979}
2983 2980
@@ -3004,7 +3001,6 @@ static int _am33xx_wait_target_ready(struct omap_hwmod *oh)
3004 /* XXX check module SIDLEMODE, hardreset status */ 3001 /* XXX check module SIDLEMODE, hardreset status */
3005 3002
3006 return am33xx_cm_wait_module_ready(oh->clkdm->cm_inst, 3003 return am33xx_cm_wait_module_ready(oh->clkdm->cm_inst,
3007 oh->clkdm->clkdm_offs,
3008 oh->prcm.omap4.clkctrl_offs); 3004 oh->prcm.omap4.clkctrl_offs);
3009} 3005}
3010 3006