Searched hist:"08 d725cd93602312df2bc4208e4672a34c107d89" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/thermal/samsung/ |
H A D | exynos_tmu.c | diff 08d725cd93602312df2bc4208e4672a34c107d89 Mon Apr 16 12:11:53 CEST 2018 Marek Szyprowski <m.szyprowski@samsung.com> 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>
|