[PATCH] ARM: mx5: use generic irq chip pm interface for pm functions on

Shawn Guo shawn.guo at freescale.com
Sun Dec 4 23:26:35 EST 2011


Sorry, this one should not be in the series.  Please ignore.

Regards,
Shawn

On Mon, Dec 05, 2011 at 12:15:43PM +0800, Shawn Guo wrote:
> From: Hui Wang <jason77.wang at gmail.com>
> 
> Two problems exist in the current i.MX5 pm suspend/resume and idle
> functions. The first is the current i.MX5 suspend routine will call
> tzic_enable_wake(1) to set wake source, this will set all enabled
> irq as wake source rather than those wake capable. The second
> is i.MX5 idle will call mx5_cpu_lp_set() to prepare enter low power
> mode, but it forgets to call wfi instruction to enter this mode.
> 
> To fix these two problems, using generic irq chip pm interface and
> modify function imx5_idle().
> 
> [Tested by Shawn Guo on imx51 babbage board.
>  Tested by Hui Wang on imx51 pdk board.]
> 
> Signed-off-by: Hui Wang <jason77.wang at gmail.com>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
> ---
> Hi Sascha,
> 
> This is a repost of patch below.
> 
>  http://comments.gmane.org/gmane.linux.ports.arm.kernel/136087
> 
> The patch looks pretty good to me, and I'm not sure why you did not
> apply it (missed?).  Anyway, I repost it here after rebasing on
> v3.2-rc4.
> 
> Regards,
> Shawn
> 




More information about the linux-arm-kernel mailing list