summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-03 08:14:37 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-03 08:35:00 +0100
commit98869f68f2f68a9f238f5e96dbc3f838a0ff7136 (patch)
tree9a0106eb3566f381ec63073e1a4115cbe61069c0 /sound/soc/samsung
parentASoC: wm8994: Check jack is inserted when handling mic IRQ (diff)
downloadlinux-98869f68f2f68a9f238f5e96dbc3f838a0ff7136.tar.xz
linux-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);