ASoC: msm8x16-wcd: guard enable/disable sequence in combo device
When speaker is powered up after headphones in combo device
use case, the power up sequence disables DAC_REF_EN bit of 0x193
causing no audio on headphones.
When headphones is powered down in combo device use case,
the power down sequence of headphones tears down the pdm clk
causing no audio on speaker.
The change adds a counter check that ensures that required resources
are not disabled in combo device use cases.
Change-Id: Ib2d0fcfe07dd5764a264739a9fb7ab706cd22342
Signed-off-by:
Aravind Kumar <akumark@codeaurora.org>
Loading
Please register or sign in to comment