ASoC: wsa881x: Add retry logic for temperature read
When temperature read happens, swr logical address
query failing sometimes and next retry is successful.
Add retry logic to handle this.
Also, temperature result can be out of range,
add retry of 3 attempts with 20ms gap to handle this.
CRs-Fixed: 2003278
Change-Id: Ie1b91d181e07d293864ea82d8b09419cc32e0854
Signed-off-by:
Laxminath Kasam <lkasam@codeaurora.org>
Loading
Please register or sign in to comment