[PATCH] omap3: enable off mode automatically

Tony Lindgren tony at atomide.com
Fri Sep 11 06:33:37 EDT 2020


* Andreas Kemnade <andreas at kemnade.info> [200911 09:50]:
> --- a/arch/arm/mach-omap2/pm.h
> +++ b/arch/arm/mach-omap2/pm.h
> @@ -49,11 +49,7 @@ static inline int omap4_opp_init(void)
>  extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm);
>  extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state);
>  
> -#ifdef CONFIG_PM_DEBUG
>  extern u32 enable_off_mode;
> -#else
> -#define enable_off_mode 0
> -#endif

Hmm isn't the above still needed for the other SoCs? Or is omap3 the only
user?

Otherwise looks good to me :)

Tony



More information about the linux-arm-kernel mailing list