linux/drivers/thermal/samsung
Bartlomiej Zolnierkiewicz 3c2651349b thermal: exynos: fix trips limit checking in get_th_reg()
of_thermal_get_ntrips() may return value bigger than supported
by a given SoC (i.e. on Exynos5422/5800) so fix the code to not
iterate the loop for i values >= data->ntrip.

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2018-05-06 16:19:05 -07:00
..
exynos_tmu.c thermal: exynos: fix trips limit checking in get_th_reg() 2018-05-06 16:19:05 -07:00
Kconfig thermal: Fix build error of missing devm_ioremap_resource on UM 2016-03-08 12:22:35 -08:00
Makefile thermal: samsung: core: Exynos TMU rework to use device tree for configuration 2015-01-24 17:39:32 -04:00