ASoC: wcd9xxx: Avoid enabling button polling from event notify handler
During insertion, it is possible that recording is already
enabled from handset which will switch to headset. During
POST_MICBIAS_2_ON event, though button polling is not actually
enabled, due to polling_active becomes true, the event
notification handler pauses and re-starts button polling.
This could lead to unknown state for button polling state
machine.
CRs-Fixed: 639116
Change-Id: Ie379e5ff58c2e99f8e21e534cbcdb914bc98b7ec
Signed-off-by:
Phani Kumar Uppalapati <phaniu@codeaurora.org>
Loading
Please register or sign in to comment