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:
9c1fc20
)
ASoC: fsl: imx-wm8962: remove an unneeded check
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 8 Nov 2013 09:54:44 +0000
(12:54 +0300)
committer
Mark Brown
<broonie@linaro.org>
Fri, 8 Nov 2013 10:22:07 +0000
(10:22 +0000)
"data->codec_clk" can't be an ERR_PTR here so I have removed the
superflous check.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/imx-wm8962.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/imx-wm8962.c
b/sound/soc/fsl/imx-wm8962.c
index 8e5b2c6a16d9c723d0259e858c87ca8fb08ec099..f7be44ad443a68742f659c06393c62815aea069a 100644
(file)
--- a/
sound/soc/fsl/imx-wm8962.c
+++ b/
sound/soc/fsl/imx-wm8962.c
@@
-279,8
+279,7
@@
static int imx_wm8962_probe(struct platform_device *pdev)
return 0;
clk_fail:
- if (!IS_ERR(data->codec_clk))
- clk_disable_unprepare(data->codec_clk);
+ clk_disable_unprepare(data->codec_clk);
fail:
if (ssi_np)
of_node_put(ssi_np);