ASoC: s3c24xx: test wrong variable
Subsystems (3)
PATCH 1/1 ASoC: s3c24xx: test wrong variable
After clk_get() mclk is checked three times instead of mout_epll and sclk_spdif checks.
---
Cannot compile this driver, so it is not tested.
sound/soc/s3c24xx/smdk_spdif.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/s3c24xx/smdk_spdif.c +2 -2
@@ -38,7 +38,7 @@ static int set_audio_clock_heirachy(struct platform_device *pdev) } mout_epll =clk_get (NULL ,"mout_epll" ); -if (IS_ERR (fout_epll)) { +if (IS_ERR (mout_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 ;
Signature · 1 line
1.7.0.4
Quoted 7 lines · Vasiliy Kulikov
After
clk_get()mclk is checked three times instead ofmout_epllandsclk_spdifchecks.Signed-off-by Vasiliy Kulikov <[email protected]>---
Cannot compile this driver, so it is not tested.
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk
Mark Brown
AppliedQuoted 4 lines · Vasiliy Kulikov
After
clk_get()mclk is checked three times instead ofmout_epllandsclk_spdifchecks.Signed-off-by Vasiliy Kulikov <[email protected]>
Applied, thanks.
Quoted 7 lines · Mark Brown
Quoted 4 lines · Vasiliy Kulikov
After
clk_get()mclk is checked three times instead ofmout_epllandsclk_spdifchecks.Signed-off-by Vasiliy Kulikov <[email protected]>Applied, thanks.
Wierd, it is CC to me as well but I didn't receive it. Though the change is ok.
Quoted 2 lines · Jassi Brar
Wierd, it is CC to me as well but I didn't receive it. Though the change is ok.
Could be greylisting - don't recall if the Samsung mail system does that or not but I've seen issues with that causing random delays before. Either that or the anti-spam system eating it.