[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181121055315.cq5svzmddaavw3su@vireshk-i7>
Date: Wed, 21 Nov 2018 11:23:15 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Anson Huang <anson.huang@....com>
Cc: "rui.zhang@...el.com" <rui.zhang@...el.com>,
"edubezval@...il.com" <edubezval@...il.com>,
"daniel.lezcano@...aro.org" <daniel.lezcano@...aro.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"l.stach@...gutronix.de" <l.stach@...gutronix.de>,
dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH V5 1/2] thermal: imx: fix for dependency on cpu-freq
On 21-11-18, 05:49, Anson Huang wrote:
> The thermal driver is a standalone driver for monitoring SoC temperature
> by enabling thermal sensor, so it can be enabled even when CONFIG_CPU_FREQ
> is NOT set. So remove the dependency with CPU_THERMAL.
>
> Introduce dummy function of legacy cooling register/unregister to make
> thermal driver probe successfully when CONFIG_CPU_FREQ is NOT set.
>
> Signed-off-by: Anson Huang <Anson.Huang@....com>
> ---
> drivers/thermal/Kconfig | 2 +-
> drivers/thermal/imx_thermal.c | 47 ++++++++++++++++++++++++++++++++-----------
> 2 files changed, 36 insertions(+), 13 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
viresh
Powered by blists - more mailing lists