littlemill.c (972c5ae961d6e5103e2b33d935cfa4145fd47140) littlemill.c (654a28c9dcf74a771318dacf237dd027944621b3)
1/*
2 * Littlemill audio support
3 *
4 * Copyright 2011 Wolfson Microelectronics
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your

--- 175 unchanged lines hidden (view full) ---

184 SND_JACK_BTN_4 | SND_JACK_BTN_5,
185 &littlemill_headset);
186 if (ret)
187 return ret;
188
189 /* This will check device compatibility itself */
190 wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL);
191
1/*
2 * Littlemill audio support
3 *
4 * Copyright 2011 Wolfson Microelectronics
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your

--- 175 unchanged lines hidden (view full) ---

184 SND_JACK_BTN_4 | SND_JACK_BTN_5,
185 &littlemill_headset);
186 if (ret)
187 return ret;
188
189 /* This will check device compatibility itself */
190 wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL);
191
192 /* As will this */
193 wm8994_mic_detect(codec, &littlemill_headset, 1);
194
192 return 0;
193}
194
195static struct snd_soc_card littlemill = {
196 .name = "Littlemill",
197 .owner = THIS_MODULE,
198 .dai_link = littlemill_dai,
199 .num_links = ARRAY_SIZE(littlemill_dai),

--- 54 unchanged lines hidden ---
195 return 0;
196}
197
198static struct snd_soc_card littlemill = {
199 .name = "Littlemill",
200 .owner = THIS_MODULE,
201 .dai_link = littlemill_dai,
202 .num_links = ARRAY_SIZE(littlemill_dai),

--- 54 unchanged lines hidden ---