[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <27f5210f-d305-3d04-8fff-722623cb065c@linaro.org>
Date: Mon, 29 Oct 2018 11:24:04 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: andy.tang@....com, rui.zhang@...el.com
Cc: edubezval@...il.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] thermal: qoriq: add multiple sensors support
On 29/10/2018 10:31, andy.tang@....com wrote:
> From: Yuantian Tang <andy.tang@....com>
>
> The QorIQ Layerscape SoC has several thermal sensors but the current
> driver only supports one.
>
> Massage the code to be sensor oriented and allow the support for
> multiple sensors.
>
> Signed-off-by: Yuantian Tang <andy.tang@....com>
> ---
With the fix below:
Reviewed-by: Daniel Lezcano <daniel.lezcano@...aro.org>
Thanks!
[ ... ]
> + ret = qoriq_tmu_register_tmu_zone(pdev);
> + if (ret < 0) {
> + dev_err(&pdev->dev, "Failed to register sensors\n");
> + ret = -ENODEV;
> + goto err_iomap;
>
if (ret) {
dev_err(&pdev->dev, "Failed to register sensors\n");
goto err_iomap;
}
--
<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