ASoC:wcd9304:Modified code to acquire codec_resource_lock only once.
POP noise is heard as DAC is enabled during fast insertion/removal of
headset, due to wrong handling of codec_resource_lock. There is no need
to acquire the lock separately for HPHL and HPHR channel, hence modified
such that lock is acquired only once for both HPHL and HPHR PA's.
Change-Id: Ibceced072a9b19f0ecd0b156057973520f241a4f
CRs-Fixed: 580366
Signed-off-by:
Asish Bhattacharya <asishb@codeaurora.org>
Loading
Please sign in to comment