projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
c79c33a
)
Merge remote-tracking branch 'asoc/topic/designware' into tmp
author
Mark Brown
<broonie@linaro.org>
Fri, 30 Aug 2013 10:04:20 +0000
(11:04 +0100)
committer
Mark Brown
<broonie@linaro.org>
Fri, 30 Aug 2013 10:04:20 +0000
(11:04 +0100)
sound/soc/dwc/designware_i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/dwc/designware_i2s.c
b/sound/soc/dwc/designware_i2s.c
index 70eb37a5dd16337614abd50462521706b6f7f9b3..25c31f1655f682f3e5c630c08c8b09fdfe2901cc 100644
(file)
--- a/
sound/soc/dwc/designware_i2s.c
+++ b/
sound/soc/dwc/designware_i2s.c
@@
-421,13
+421,11
@@
static int dw_i2s_probe(struct platform_device *pdev)
dw_i2s_dai, 1);
if (ret != 0) {
dev_err(&pdev->dev, "not able to register dai\n");
- goto err_
set_drvdata
;
+ goto err_
clk_disable
;
}
return 0;
-err_set_drvdata:
- dev_set_drvdata(&pdev->dev, NULL);
err_clk_disable:
clk_disable(dev->clk);
err_clk_put:
@@
-440,7
+438,6
@@
static int dw_i2s_remove(struct platform_device *pdev)
struct dw_i2s_dev *dev = dev_get_drvdata(&pdev->dev);
snd_soc_unregister_component(&pdev->dev);
- dev_set_drvdata(&pdev->dev, NULL);
clk_put(dev->clk);