commit | c8c3b091b65c55ed950cb1601b21eea59c3117c0 | [log] [tgz] |
---|---|---|
author | Amit Kucheria <amit.kucheria@linaro.org> | Wed Sep 12 15:22:53 2018 +0530 |
committer | Eduardo Valentin <edubezval@gmail.com> | Mon Oct 22 17:35:30 2018 -0700 |
tree | cb1913091ca9dea12f8ef61fbb8d05f2283f5161 | |
parent | c130a7602e3bc2c6fd896c1d56478fca47a38c02 [diff] |
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: Amit Kucheria <amit.kucheria@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>