[PATCH v2 2/2] ARM: mx3: Let mx31 and mx35 enter in LPM mode in WFI

Richard Zhao richard.zhao at freescale.com
Thu Feb 2 19:52:54 EST 2012


> diff --git a/arch/arm/mach-imx/mm-imx3.c b/arch/arm/mach-imx/mm-imx3.c
> index 8404ee7..5f66791 100644
> --- a/arch/arm/mach-imx/mm-imx3.c
> +++ b/arch/arm/mach-imx/mm-imx3.c
> @@ -34,6 +34,7 @@ static void imx3_idle(void)
>  {
>  	unsigned long reg = 0;
>  
> +	mx3_cpu_lp_set(MX3_WAIT);
Isn't it supposed to use cpuidle to level the idle state?

Thanks
Richard




More information about the linux-arm-kernel mailing list