diff options
Diffstat (limited to 'sound/soc/tegra/tegra_alc5632.c')
| -rw-r--r-- | sound/soc/tegra/tegra_alc5632.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c index 769aca2fc5f5..6dcd06a966c7 100644 --- a/sound/soc/tegra/tegra_alc5632.c +++ b/sound/soc/tegra/tegra_alc5632.c | |||
| @@ -106,11 +106,10 @@ static int tegra_alc5632_asoc_init(struct snd_soc_pcm_runtime *rtd) | |||
| 106 | struct snd_soc_dapm_context *dapm = &codec->dapm; | 106 | struct snd_soc_dapm_context *dapm = &codec->dapm; |
| 107 | struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(rtd->card); | 107 | struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(rtd->card); |
| 108 | 108 | ||
| 109 | snd_soc_jack_new(codec, "Headset Jack", SND_JACK_HEADSET, | 109 | snd_soc_card_jack_new(rtd->card, "Headset Jack", SND_JACK_HEADSET, |
| 110 | &tegra_alc5632_hs_jack); | 110 | &tegra_alc5632_hs_jack, |
| 111 | snd_soc_jack_add_pins(&tegra_alc5632_hs_jack, | 111 | tegra_alc5632_hs_jack_pins, |
| 112 | ARRAY_SIZE(tegra_alc5632_hs_jack_pins), | 112 | ARRAY_SIZE(tegra_alc5632_hs_jack_pins)); |
| 113 | tegra_alc5632_hs_jack_pins); | ||
| 114 | 113 | ||
| 115 | if (gpio_is_valid(machine->gpio_hp_det)) { | 114 | if (gpio_is_valid(machine->gpio_hp_det)) { |
| 116 | tegra_alc5632_hp_jack_gpio.gpio = machine->gpio_hp_det; | 115 | tegra_alc5632_hp_jack_gpio.gpio = machine->gpio_hp_det; |
