ASoC: wcd9xxx: Prevent disabling of internal micbias

If recording is also using internal micbias, then after recording
ends, the dapm widget power down callback will reset the state of
internal micbias in codec register. To avoid such issues make sure
internal micbias is enabled while headset detection, button press
detection and polling.

CRs-fixed: 565636
CRs-fixed: 565389
Change-Id: I2b71e8df400b87016a545d6f00e757c602b87b1a
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
2 files changed