RE: [PATCH V3] thermal: imx: fix for dependency on cpu-freq

From: Anson Huang
Date: Wed Nov 21 2018 - 00:08:42 EST




Best Regards!
Anson Huang

> -----Original Message-----
> From: Viresh Kumar [mailto:viresh.kumar@xxxxxxxxxx]
> Sent: 2018å11æ21æ 11:54
> To: Anson Huang <anson.huang@xxxxxxx>
> Cc: Zhang Rui <rui.zhang@xxxxxxxxx>; Eduardo Valentin
> <edubezval@xxxxxxxxx>; Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>; Linux
> PM list <linux-pm@xxxxxxxxxxxxxxx>; Linux Kernel Mailing List
> <linux-kernel@xxxxxxxxxxxxxxx>; l.stach@xxxxxxxxxxxxxx; dl-linux-imx
> <linux-imx@xxxxxxx>
> Subject: Re: [PATCH V3] thermal: imx: fix for dependency on cpu-freq
>
> On Wed, Nov 21, 2018 at 8:11 AM Anson Huang <anson.huang@xxxxxxx>
> wrote:
>
> > @@ -830,8 +851,7 @@ static int imx_thermal_probe(struct platform_device
> *pdev)
> > clk_disable:
> > clk_disable_unprepare(data->thermal_clk);
> > cpufreq_put:
>
> While at it, rename this label as well to something like legacy_cleanup.

Done with V4 patch, thanks.

Anson.

>
> > - cpufreq_cooling_unregister(data->cdev);
> > - cpufreq_cpu_put(data->policy);
> > + imx_thermal_unregister_legacy_cooling(data);
> >
> > return ret;
> > }