drivers: thermal: bcl: enable bcl configs prior to thermal zone register
bcl driver configures bcl hardware registers after bcl thermal zone
sensor registration. But during thermal zone registration thermal
core tries to read these bcl sensors and reads zero as current value
since bcl peripheral is not yet configured. It leads to wrong
threshold settings for these bcl sensors.
Configure bcl peripheral registers prior to any thermal zone sensor
registration.
Change-Id: I5b86535d593a9804e80b115642998b511c1f0e25
Signed-off-by:
Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Loading
Please register or sign in to comment