diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/tegra/tegra_wm9712.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c index 2868b4839bc0..6492f8143ff1 100644 --- a/sound/soc/tegra/tegra_wm9712.c +++ b/sound/soc/tegra/tegra_wm9712.c | |||
@@ -46,11 +46,7 @@ static const struct snd_soc_dapm_widget tegra_wm9712_dapm_widgets[] = { | |||
46 | 46 | ||
47 | static int tegra_wm9712_init(struct snd_soc_pcm_runtime *rtd) | 47 | static int tegra_wm9712_init(struct snd_soc_pcm_runtime *rtd) |
48 | { | 48 | { |
49 | struct snd_soc_dai *codec_dai = rtd->codec_dai; | 49 | return snd_soc_dapm_force_enable_pin(&rtd->card->dapm, "Mic Bias"); |
50 | struct snd_soc_codec *codec = codec_dai->codec; | ||
51 | struct snd_soc_dapm_context *dapm = &codec->dapm; | ||
52 | |||
53 | return snd_soc_dapm_force_enable_pin(dapm, "Mic Bias"); | ||
54 | } | 50 | } |
55 | 51 | ||
56 | static struct snd_soc_dai_link tegra_wm9712_dai = { | 52 | static struct snd_soc_dai_link tegra_wm9712_dai = { |