[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <657f28a7-fc75-06ae-a96c-d2ef0485e4bc@linaro.org>
Date: Tue, 15 Dec 2020 09:41:18 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: rui.zhang@...el.com, lukasz.luba@....com
Cc: sfr@...b.auug.org.au, linux-kernel@...r.kernel.org,
linux-next@...r.kernel.org,
Arnd Bergmann <arnd.bergmann@...aro.org>
Subject: Re: [PATCH] thermal/drivers/devfreq: Fix missing dependency with the
energy model
A separate patch should add the select ENERGY_MODEL in the
multi_v7_defconfig so the devfreq cooling device continues to build by
default as before.
Arnd?
On 15/12/2020 09:35, Daniel Lezcano wrote:
> The devfreq cooling device has been converted to use the energy model.
>
> Add the dependency on the ENERGY_MODEL option to reflect this change
> and prevent build failure if the option is not set.
>
> Fixes: 615510fe13bd2 ("thermal: devfreq_cooling: remove old power model and use EM")
> Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
> ---
> drivers/thermal/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index 7edc8dc6bbab..ee62d51ef351 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -193,6 +193,7 @@ config DEVFREQ_THERMAL
> bool "Generic device cooling support"
> depends on PM_DEVFREQ
> depends on PM_OPP
> + depends on ENERGY_MODEL
> help
> This implements the generic devfreq cooling mechanism through
> frequency reduction for devices using devfreq.
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists