ASoC: wsa881x: Update temperature value during device down
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>
Loading
Please register or sign in to comment