diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-23 16:22:12 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-23 16:22:12 -0700 | 
| commit | fde75430278130505cac21997cd9f90b7bb2670a (patch) | |
| tree | 909f659117f5fa8bf1b9b46809f4dc655aee0d34 /arch/arm/mach-omap2/clockdomain44xx.c | |
| parent | 1a4120bc101bdc25ec7258937b5071bf34b19cc5 (diff) | |
| parent | db3c47a3af96e8109b1bb114c32f0854259d5970 (diff) | |
| download | olio-linux-3.10-fde75430278130505cac21997cd9f90b7bb2670a.tar.xz olio-linux-3.10-fde75430278130505cac21997cd9f90b7bb2670a.zip  | |
Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull arm-soc cleanups, part 2, from Arnd Bergmann:
 "These omap cleanups have dependencies on earlier omap branches that in
  turn depend on other cleanups, so they could not go into the same
  branch."
* tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: OMAP: sdrc: Fix the build break for OMAP4 only builds
  ARM: OMAP2+: dmtimer: cleanup fclk usage
  ARM: OMAP2+: Fix mismerge for omap_hwmod_get_main_clk() API
  ARM: OMAP2+: Remove unnecessary ifdef around __omap2_set_globals
  ARM: OMAP2+: am33xx: Change cpu_is_am33xx to soc_is_am33xx
  ARM: OMAP2+: am33xx: Make am33xx as a separate class
  ARM: OMAP2+: Move omap3 dpll ops to dpll3xxx.c
  ARM: OMAP2+: All OMAP2PLUS uses omap-device.o target so add one entry
  ARM: OMAP: dmtimer: use devm_ API and do some cleanup in probe()
  ARM: OMAP2+: hwmod code: add support to set dmadisable in hwmod framework
  ARM: OMAP2+: PRM/CM: Move the stubbed prm and cm functions to prcm.c file and make them __weak
  ARM: OMAP2+: hwmod: add omap_hwmod_get_main_clk() API
  ARM: OMAP3+: dpll: optimize noncore dpll locking logic
  ARM: OMAP3: control: add definition for CONTROL_CAMERA_PHY_CTRL
  ARM: OMAP2+: powerdomain code: Fix Wake-up power domain power status
  ARM: OMAP4: clockdomain/CM code: Update supported transition modes
  ARM: OMAP3/4: omap_hwmod: Add rstst_offs field to struct omap_hwmod_omap4_prcm
  ARM: OMAP2+: hwmod: Add new sysc_type3 into omap_hwmod required for am33xx
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain44xx.c')
| -rw-r--r-- | arch/arm/mach-omap2/clockdomain44xx.c | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/clockdomain44xx.c b/arch/arm/mach-omap2/clockdomain44xx.c index 4f04dd11d65..762f2cc542c 100644 --- a/arch/arm/mach-omap2/clockdomain44xx.c +++ b/arch/arm/mach-omap2/clockdomain44xx.c @@ -70,7 +70,7 @@ static int omap4_clkdm_clear_all_wkup_sleep_deps(struct clockdomain *clkdm)  static int omap4_clkdm_sleep(struct clockdomain *clkdm)  { -	omap4_cminst_clkdm_force_sleep(clkdm->prcm_partition, +	omap4_cminst_clkdm_enable_hwsup(clkdm->prcm_partition,  					clkdm->cm_inst, clkdm->clkdm_offs);  	return 0;  } @@ -90,8 +90,12 @@ static void omap4_clkdm_allow_idle(struct clockdomain *clkdm)  static void omap4_clkdm_deny_idle(struct clockdomain *clkdm)  { -	omap4_cminst_clkdm_disable_hwsup(clkdm->prcm_partition, -					clkdm->cm_inst, clkdm->clkdm_offs); +	if (clkdm->flags & CLKDM_CAN_FORCE_WAKEUP) +		omap4_clkdm_wakeup(clkdm); +	else +		omap4_cminst_clkdm_disable_hwsup(clkdm->prcm_partition, +						 clkdm->cm_inst, +						 clkdm->clkdm_offs);  }  static int omap4_clkdm_clk_enable(struct clockdomain *clkdm)  |