summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJohn Hsu <KCHSU0@nuvoton.com>2019-03-13 15:04:16 +0800
committerMark Brown <broonie@kernel.org>2019-03-13 15:07:06 +0000
commit709a9b8a1f4ff6c34c0a6e6fefb31cfb23b19bf5 (patch)
treee7a41738fe7b38ea4fbacfac28c5d90ed8ebe4ed /sound
parentb517229ca2f7836125be58997808f2803f9ebc86 (diff)
ASoC: nau8810: fix the typo of function name
Correct the typo at the function name. Signed-off-by: John Hsu <KCHSU0@nuvoton.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/nau8810.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/nau8810.c b/sound/soc/codecs/nau8810.c
index e7fd0b2645ea..39512a78a556 100644
--- a/sound/soc/codecs/nau8810.c
+++ b/sound/soc/codecs/nau8810.c
@@ -493,7 +493,7 @@ static int nau8810_set_sysclk(struct snd_soc_dai *dai,
return 0;
}
-static int nau88l0_calc_pll(unsigned int pll_in,
+static int nau8810_calc_pll(unsigned int pll_in,
unsigned int fs, struct nau8810_pll *pll_param)
{
u64 f2, f2_max, pll_ratio;
@@ -542,7 +542,7 @@ static int nau8810_set_pll(struct snd_soc_dai *codec_dai, int pll_id,
int ret, fs;
fs = freq_out / 256;
- ret = nau88l0_calc_pll(freq_in, fs, pll_param);
+ ret = nau8810_calc_pll(freq_in, fs, pll_param);
if (ret < 0) {
dev_err(nau8810->dev, "Unsupported input clock %d\n", freq_in);
return ret;