mirror of https://gitee.com/openkylin/linux.git
ASoC: Fix snd_soc_dai_set_pll() calls in neo1973_*.c
Fix the missing argument of snd_soc_dai_set_pll() in neo1973_*.c,
which was forgotten in the commit 85488037bb
.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
bb26276744
commit
140318aaa9
|
@ -133,7 +133,7 @@ static int neo1973_gta02_hifi_hw_free(struct snd_pcm_substream *substream)
|
||||||
struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
|
struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
|
||||||
|
|
||||||
/* disable the PLL */
|
/* disable the PLL */
|
||||||
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0);
|
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -183,7 +183,7 @@ static int neo1973_gta02_voice_hw_params(
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
/* configue and enable PLL for 12.288MHz output */
|
/* configue and enable PLL for 12.288MHz output */
|
||||||
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2,
|
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
|
||||||
iis_clkrate / 4, 12288000);
|
iis_clkrate / 4, 12288000);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -197,7 +197,7 @@ static int neo1973_gta02_voice_hw_free(struct snd_pcm_substream *substream)
|
||||||
struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
|
struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
|
||||||
|
|
||||||
/* disable the PLL */
|
/* disable the PLL */
|
||||||
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0);
|
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct snd_soc_ops neo1973_gta02_voice_ops = {
|
static struct snd_soc_ops neo1973_gta02_voice_ops = {
|
||||||
|
|
|
@ -153,7 +153,7 @@ static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream)
|
||||||
pr_debug("Entered %s\n", __func__);
|
pr_debug("Entered %s\n", __func__);
|
||||||
|
|
||||||
/* disable the PLL */
|
/* disable the PLL */
|
||||||
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0);
|
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -203,7 +203,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream,
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
/* configue and enable PLL for 12.288MHz output */
|
/* configue and enable PLL for 12.288MHz output */
|
||||||
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2,
|
ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0,
|
||||||
iis_clkrate / 4, 12288000);
|
iis_clkrate / 4, 12288000);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -219,7 +219,7 @@ static int neo1973_voice_hw_free(struct snd_pcm_substream *substream)
|
||||||
pr_debug("Entered %s\n", __func__);
|
pr_debug("Entered %s\n", __func__);
|
||||||
|
|
||||||
/* disable the PLL */
|
/* disable the PLL */
|
||||||
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0);
|
return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct snd_soc_ops neo1973_voice_ops = {
|
static struct snd_soc_ops neo1973_voice_ops = {
|
||||||
|
|
Loading…
Reference in New Issue