summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-wm8962.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-11-08 14:43:29 +0400
committerMark Brown <broonie@linaro.org>2013-11-08 14:43:29 +0400
commitec7118e39181a66144e6ae77ea7e24894362145a (patch)
treebd641872931887e137863d74027f4dbf934632fa /sound/soc/fsl/imx-wm8962.c
parent3352b80075a2dcc3ee6d7270620cba61878bfc05 (diff)
parentea8e5e591801b0d0c25dc0a0f1f5b508be7004cb (diff)
downloadlinux-ec7118e39181a66144e6ae77ea7e24894362145a.tar.xz
Merge remote-tracking branch 'asoc/topic/fsl' into asoc-next
Diffstat (limited to 'sound/soc/fsl/imx-wm8962.c')
-rw-r--r--sound/soc/fsl/imx-wm8962.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c
index 6c6066618f3b..361f94f09b11 100644
--- 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);
@@ -310,6 +309,7 @@ static struct platform_driver imx_wm8962_driver = {
.driver = {
.name = "imx-wm8962",
.owner = THIS_MODULE,
+ .pm = &snd_soc_pm_ops,
.of_match_table = imx_wm8962_dt_ids,
},
.probe = imx_wm8962_probe,