Commit 29833d1d authored by Amit Kucheria's avatar Amit Kucheria Committed by Nicolas Dechesne
Browse files

UPSTREAM: thermal: tsens: Check if the IP is correctly enabled by firmware



The SROT registers are initialised by the secure firmware at boot. We
don't have write access to the registers. Check if the block is enabled
before continuing.

Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
(cherry picked from commit c8c3b091)
Signed-off-by: default avatarKhasim Syed Mohammed <khasim.mohammed@linaro.org>
parent cfb25557
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment