
when wsa881x device is down, reading temperature from driver returns error. Instead of propagating the error, return the cached temperature value to the thermal framework to avoid iterative calls to read the temperature that results in excessive logging. Change-Id: I529c83eafec63004c2469bf16a0b53bd5accbdbb Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
5.0 KiB
5.0 KiB