diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_wm8903.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c index 4a95b70f0cf0..21604009bc1a 100644 --- a/sound/soc/tegra/tegra_wm8903.c +++ b/sound/soc/tegra/tegra_wm8903.c | |||
@@ -171,7 +171,6 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd) | |||
171 | { | 171 | { |
172 | struct snd_soc_dai *codec_dai = rtd->codec_dai; | 172 | struct snd_soc_dai *codec_dai = rtd->codec_dai; |
173 | struct snd_soc_codec *codec = codec_dai->codec; | 173 | struct snd_soc_codec *codec = codec_dai->codec; |
174 | struct snd_soc_dapm_context *dapm = &codec->dapm; | ||
175 | struct snd_soc_card *card = rtd->card; | 174 | struct snd_soc_card *card = rtd->card; |
176 | struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); | 175 | struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); |
177 | 176 | ||
@@ -193,7 +192,7 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd) | |||
193 | wm8903_mic_detect(codec, &tegra_wm8903_mic_jack, SND_JACK_MICROPHONE, | 192 | wm8903_mic_detect(codec, &tegra_wm8903_mic_jack, SND_JACK_MICROPHONE, |
194 | 0); | 193 | 0); |
195 | 194 | ||
196 | snd_soc_dapm_force_enable_pin(dapm, "MICBIAS"); | 195 | snd_soc_dapm_force_enable_pin(&card->dapm, "MICBIAS"); |
197 | 196 | ||
198 | return 0; | 197 | return 0; |
199 | } | 198 | } |