summaryrefslogtreecommitdiff
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-03 16:14:37 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-03 16:35:00 +0900
commit98869f68f2f68a9f238f5e96dbc3f838a0ff7136 (patch)
tree9a0106eb3566f381ec63073e1a4115cbe61069c0 /sound/soc/samsung
parente874de436f6c7ddbcca1e1fb7edd4d05ad274048 (diff)
downloadlwn-98869f68f2f68a9f238f5e96dbc3f838a0ff7136.tar.gz
lwn-98869f68f2f68a9f238f5e96dbc3f838a0ff7136.zip
ASoC: wm8994: Allow microphone identification callback to be overridden
Allow custom accessory identification mechanisms to make use of the MICDET support in the device. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r--sound/soc/samsung/littlemill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/littlemill.c b/sound/soc/samsung/littlemill.c
index ee52c8a00779..7beb6d9b57a8 100644
--- a/sound/soc/samsung/littlemill.c
+++ b/sound/soc/samsung/littlemill.c
@@ -270,7 +270,7 @@ static int littlemill_late_probe(struct snd_soc_card *card)
return ret;
/* This will check device compatibility itself */
- wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL);
+ wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL, NULL, NULL);
/* As will this */
wm8994_mic_detect(codec, &littlemill_headset, 1);