ASoC: wsa881x-analog: Fix warning in bandgap and clock control
During temperature read, resource acquire can fail
if mclk is not enabled successfully. In such case,
clock and bandgap control counters are not incremented.
But resource release is still happening resulting
in counters going negative and warn_on messages.
Fix it by handling resource acquire failure case.
CRs-Fixed: 1003365
Change-Id: If2371e06866a615ca7d7dad64a5d7a17f258b3b6
Signed-off-by:
Laxminath Kasam <lkasam@codeaurora.org>
Loading
Please register or sign in to comment