Commit 236e4095 authored by Dan Carpenter's avatar Dan Carpenter Committed by Zheng Zengkai
Browse files

thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()

stable inclusion
from stable-5.10.69
commit 375e779ec32a87edeb6bb26582c1c9a1f59876f9
bugzilla: 182675 https://gitee.com/openeuler/kernel/issues/I4I3ED

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=375e779ec32a87edeb6bb26582c1c9a1f59876f9



--------------------------------

commit 02d438f6 upstream.

This error path return success but it should propagate the negative
error code from devm_clk_get().

Fixes: 6c247393 ("thermal: exynos: Add TMU support for Exynos7 SoC")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210810084413.GA23810@kili


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 39813892
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment