Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thermal: rcar_gen3_thermal: Correct the order of checking THSCP
Currently, Software Correction Parameter (THSCP) Register cannot be read before pm_runtime_get_sync(), so even if FUSE values are available, they cannot be fetched from this registers and pseudo values are used instead This patch corrects the order of checking THSCP register: - These register values are read in case of Thermal sensor is A type - Read function has to be placed after turning on power domains Otherwise, values of this register are not guaranteed - If FUSE values are available, they can be retrieved correctly now Signed-off-by: Tien Dao <[email protected]>
- Loading branch information