Commit e8758a5e authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Mark Brown

ASoC: wm8955: Fix a typo in 'wm8995_pll_factors()' function name

This should be 'wm8955_pll_factors()' instead.
Fix it and use it.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20190724052632.30476-1-christophe.jaillet@wanadoo.frSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 467fece8
...@@ -140,7 +140,7 @@ struct pll_factors { ...@@ -140,7 +140,7 @@ struct pll_factors {
* to allow rounding later */ * to allow rounding later */
#define FIXED_FLL_SIZE ((1 << 22) * 10) #define FIXED_FLL_SIZE ((1 << 22) * 10)
static int wm8995_pll_factors(struct device *dev, static int wm8955_pll_factors(struct device *dev,
int Fref, int Fout, struct pll_factors *pll) int Fref, int Fout, struct pll_factors *pll)
{ {
u64 Kpart; u64 Kpart;
...@@ -279,7 +279,7 @@ static int wm8955_configure_clocking(struct snd_soc_component *component) ...@@ -279,7 +279,7 @@ static int wm8955_configure_clocking(struct snd_soc_component *component)
/* Use the last divider configuration we saw for the /* Use the last divider configuration we saw for the
* sample rate. */ * sample rate. */
ret = wm8995_pll_factors(component->dev, wm8955->mclk_rate, ret = wm8955_pll_factors(component->dev, wm8955->mclk_rate,
clock_cfgs[sr].mclk, &pll); clock_cfgs[sr].mclk, &pll);
if (ret != 0) { if (ret != 0) {
dev_err(component->dev, dev_err(component->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment