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:
2811fe2
)
ASoC: s3c24xx: test wrong variable
author
Vasiliy Kulikov
<
[email protected]
>
Sun, 21 Nov 2010 17:40:21 +0000
(20:40 +0300)
committer
Mark Brown
<
[email protected]
>
Mon, 22 Nov 2010 14:03:22 +0000
(14:03 +0000)
After clk_get() mclk is checked three times instead of mout_epll
and sclk_spdif checks.
Signed-off-by: Vasiliy Kulikov <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/s3c24xx/smdk_spdif.c
patch
|
blob
|
history
diff --git
a/sound/soc/s3c24xx/smdk_spdif.c
b/sound/soc/s3c24xx/smdk_spdif.c
index f31d22ad7c88997dfc9c4511f62b2a5aa7652a27..c8bd90488a87385d33b168813878893bfa5b9266 100644
(file)
--- a/
sound/soc/s3c24xx/smdk_spdif.c
+++ b/
sound/soc/s3c24xx/smdk_spdif.c
@@
-38,7
+38,7
@@
static int set_audio_clock_heirachy(struct platform_device *pdev)
}
mout_epll = clk_get(NULL, "mout_epll");
- if (IS_ERR(
f
out_epll)) {
+ if (IS_ERR(
m
out_epll)) {
printk(KERN_WARNING "%s: Cannot find mout_epll.\n",
__func__);
ret = -EINVAL;
@@
-54,7
+54,7
@@
static int set_audio_clock_heirachy(struct platform_device *pdev)
}
sclk_spdif = clk_get(NULL, "sclk_spdif");
- if (IS_ERR(
fout_epll
)) {
+ if (IS_ERR(
sclk_spdif
)) {
printk(KERN_WARNING "%s: Cannot find sclk_spdif.\n",
__func__);
ret = -EINVAL;