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>
asoc: msm8974: Properly configure MBHC

 * Fix all the headset issues including:
   - Headsets detected as headphones
   - Headphones detects as headsets
   - Buttons not working properly on all headsets

Change-Id: I270c6601e08cae0580794ca452ee2799d13c558b
Merge changes I270c6601,Ie379e5ff into kitkat

* changes:
  asoc: msm8974: Properly configure MBHC
  ASoC: wcd9xxx: Avoid enabling button polling from event notify handler