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>
diff --git a/sound/soc/codecs/wcd9310.h b/sound/soc/codecs/wcd9310.h
index 9b4faef..38f07ff 100644
--- a/sound/soc/codecs/wcd9310.h
+++ b/sound/soc/codecs/wcd9310.h
@@ -45,4 +45,5 @@
 };
 
 extern int tabla_hs_detect(struct snd_soc_codec *codec,
-	struct snd_soc_jack *jack, struct tabla_mbhc_calibration *calibration);
+	struct snd_soc_jack *headset_jack, struct snd_soc_jack *button_jack,
+	struct tabla_mbhc_calibration *calibration);