Loading
thermal: tsens: Use client ID mapping for sysfs thermal reads
Sensor client ID mapping is used for associating it with the
controller and sensor within each controller. This is broadcasted
to the thermal kernel clients using the api tsens_get_hw_id_mapping.
Thermal sysfs reads also needs to use the sensor client ID when
applicable where multiple controllers are present.
Therefore use the same sensor client ID used for
kernel reads and sysfs reads.
CRs-Fixed: 839887
Change-Id: I22efeed5e0fd41cb85e88ec8a3002a43d5f8321d
Signed-off-by:
Siddartha Mohanadoss <smohanad@codeaurora.org>