Re: [PATCH v2] thermal: ti-soc-thermal: fix incorrect entry in omap5430_adc_to_temp[]

From: Daniel Lezcano
Date: Wed May 02 2018 - 11:49:45 EST


On Wed, May 02, 2018 at 04:14:32PM +0200, Bartlomiej Zolnierkiewicz wrote:
> Entry for Index 941 has one zero too much. Fix it.
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>

Good catch :)

I'm curious, how did you spot it ?

> ---
> v2:
> - Fix patch description.
>
> drivers/thermal/ti-soc-thermal/omap5-thermal-data.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: b/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c
> ===================================================================
> --- a/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c 2018-04-30 16:23:42.000000000 +0200
> +++ b/drivers/thermal/ti-soc-thermal/omap5-thermal-data.c 2018-05-02 14:16:09.461434201 +0200
> @@ -310,7 +310,7 @@ omap5430_adc_to_temp[
> 119800, 120200, 120600, 121000, 121400, 121800, 122400, 122600, 123000,
> 123400,
> /* Index 940 - 945 */
> - 123800, 1242000, 124600, 124900, 125000, 125000,
> + 123800, 124200, 124600, 124900, 125000, 125000,
> };
>
> /* OMAP54xx ES2.0 data */
>

--

<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