Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1600644

Re: [PATCH 2/4] ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/4] ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO
Date 2017-03-14 17:00 +0100
Message-ID <tkX1D-2dV-21@gated-at.bofh.it> (permalink)
References <tkwNQ-8qX-9@gated-at.bofh.it> <tkwNQ-8qX-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Roger Quadros <rogerq@ti.com> [170313 04:55]:

> --- a/arch/arm/mach-omap2/omap_hwmod.c
> +++ b/arch/arm/mach-omap2/omap_hwmod.c
> @@ -2149,7 +2149,7 @@ static int _idle(struct omap_hwmod *oh)
>  		_idle_sysc(oh);
>  	_del_initiator_dep(oh, mpu_oh);
>  
> -	if (oh->clkdm)
> +	if (oh->clkdm && !(oh->flags & HWMOD_CLKDM_NOAUTO))
>  		clkdm_deny_idle(oh->clkdm);
>  
>  	if (oh->flags & HWMOD_BLOCK_WFI)

Is this change to _idle() really needed? It seems that the
clkdm_deny_idle() there is paired with the clkdm_allow_idle()
later on in the same function?

Regards,

Tony

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/4] ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO Tony Lindgren <tony@atomide.com> - 2017-03-14 17:00 +0100
  Re: [PATCH 2/4] ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO Roger Quadros <rogerq@ti.com> - 2017-03-16 09:10 +0100
    Re: [PATCH 2/4] ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO Roger Quadros <rogerq@ti.com> - 2017-03-16 09:30 +0100
      Re: [PATCH 2/4] ARM: OMAP2+ hwmod: Allow modules to disable HW_AUTO Tony Lindgren <tony@atomide.com> - 2017-03-16 16:30 +0100

csiph-web