OpenCloudOS-Kernel/drivers/thermal/samsung
Marek Szyprowski c8da6cdef5 thermal: exynos: Propagate error value from tmu_read()
tmu_read() in case of Exynos4210 might return error for out of bound
values. Current code ignores such value, what leads to reporting critical
temperature value. Add proper error code propagation to exynos_get_temp()
function.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
CC: stable@vger.kernel.org # v4.6+
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2018-04-27 06:17:30 -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
exynos_tmu.c thermal: exynos: Propagate error value from tmu_read() 2018-04-27 06:17:30 -07:00
exynos_tmu.h thermal: exynos: Remove parsing unused samsung,tmu_cal_mode property 2017-02-18 17:22:27 -08:00