projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b8eae7
)
ASoC: Intel: bytcr_rt5640: Fix compile error
author
Hans de Goede
<
[email protected]
>
Fri, 11 May 2018 09:52:16 +0000
(11:52 +0200)
committer
Mark Brown
<
[email protected]
>
Sun, 13 May 2018 02:30:19 +0000
(11:30 +0900)
Fix the compile error introduced by: "ASoC: Intel: bytcr_rt5640:
Configure PLL1 before using it".
Signed-off-by: Hans de Goede <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/intel/boards/bytcr_rt5640.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/boards/bytcr_rt5640.c
b/sound/soc/intel/boards/bytcr_rt5640.c
index 404aa73559128a374001cfc7a6822212f475b767..fe46f3b2aeccc4b7dac53a42c598f00a7e679beb 100644
(file)
--- a/
sound/soc/intel/boards/bytcr_rt5640.c
+++ b/
sound/soc/intel/boards/bytcr_rt5640.c
@@
-178,14
+178,14
@@
static int byt_rt5640_prepare_and_enable_pll1(struct snd_soc_dai *codec_dai,
}
if (ret < 0) {
- dev_err(codec_dai->co
dec
->dev, "can't set pll: %d\n", ret);
+ dev_err(codec_dai->co
mponent
->dev, "can't set pll: %d\n", ret);
return ret;
}
ret = snd_soc_dai_set_sysclk(codec_dai, RT5640_SCLK_S_PLL1,
rate * 512, SND_SOC_CLOCK_IN);
if (ret < 0) {
- dev_err(codec_dai->co
dec
->dev, "can't set clock %d\n", ret);
+ dev_err(codec_dai->co
mponent
->dev, "can't set clock %d\n", ret);
return ret;
}