ASoC: WCD9310: Detect headset button press and release

Detects if inserted headset has a microphone or not, and
if there is a microphone, detects if a button is pressed
which grounds the microphone bias line.

Signed-off-by: Brad Rubin <brubin@codeaurora.org>
3 files changed