ASoC: Add line loads to the list of supported detections for Speyside
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
This commit is contained in:
parent
0b684cc14a
commit
45cf367e80
|
@ -167,7 +167,8 @@ static int speyside_wm8996_init(struct snd_soc_pcm_runtime *rtd)
|
||||||
gpio_direction_output(WM8996_HPSEL_GPIO, speyside_jack_polarity);
|
gpio_direction_output(WM8996_HPSEL_GPIO, speyside_jack_polarity);
|
||||||
|
|
||||||
ret = snd_soc_jack_new(codec, "Headset",
|
ret = snd_soc_jack_new(codec, "Headset",
|
||||||
SND_JACK_HEADSET | SND_JACK_BTN_0,
|
SND_JACK_LINEOUT | SND_JACK_HEADSET |
|
||||||
|
SND_JACK_BTN_0,
|
||||||
&speyside_headset);
|
&speyside_headset);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue