aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2018-04-16 10:11:53 +0000
committerEduardo Valentin <[email protected]>2018-04-27 13:17:30 +0000
commitc8da6cdef57b459ac0fd5d9d348f8460a575ae90 (patch)
tree386dd09c09fb8609c07f3f5a7317782ef11b55f5 /fs/proc/array.c
parentthermal: exynos: Reading temperature makes sense only when TMU is turned on (diff)
downloadkernel-c8da6cdef57b459ac0fd5d9d348f8460a575ae90.tar.gz
kernel-c8da6cdef57b459ac0fd5d9d348f8460a575ae90.zip
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 <[email protected]> CC: [email protected] # v4.6+ Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions