projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d526416
)
ASoC: fsl_asrc: fix an error code in fsl_asrc_probe()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Thu, 31 Jul 2014 09:32:09 +0000
(12:32 +0300)
committer
Mark Brown
<broonie@linaro.org>
Thu, 31 Jul 2014 19:23:24 +0000
(20:23 +0100)
There is a cut and paste bug so it returns success instead of the error
code.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_asrc.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_asrc.c
b/sound/soc/fsl/fsl_asrc.c
index
910525b
..
424b23c
100644
(file)
--- a/
sound/soc/fsl/fsl_asrc.c
+++ b/
sound/soc/fsl/fsl_asrc.c
@@
-826,7
+826,7
@@
static int fsl_asrc_probe(struct platform_device *pdev)
asrc_priv->mem_clk = devm_clk_get(&pdev->dev, "mem");
if (IS_ERR(asrc_priv->mem_clk)) {
dev_err(&pdev->dev, "failed to get mem clock\n");
- return PTR_ERR(asrc_priv->
ipg
_clk);
+ return PTR_ERR(asrc_priv->
mem
_clk);
}
asrc_priv->ipg_clk = devm_clk_get(&pdev->dev, "ipg");