diff options
-rw-r--r-- | sound/soc/codecs/rt5670.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 91d2069a9313..cc7f84a150a7 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c | |||
@@ -699,7 +699,7 @@ static int set_dmic_clk(struct snd_soc_dapm_widget *w, | |||
699 | static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *source, | 699 | static int is_sys_clk_from_pll(struct snd_soc_dapm_widget *source, |
700 | struct snd_soc_dapm_widget *sink) | 700 | struct snd_soc_dapm_widget *sink) |
701 | { | 701 | { |
702 | struct snd_soc_codec *codec = source->codec; | 702 | struct snd_soc_codec *codec = snd_soc_dapm_to_codec(source->dapm); |
703 | struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec); | 703 | struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec); |
704 | 704 | ||
705 | if (rt5670->sysclk_src == RT5670_SCLK_S_PLL1) | 705 | if (rt5670->sysclk_src == RT5670_SCLK_S_PLL1) |