projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa80b6
)
ASoC: tegra: improve goto error label
author
Marcel Ziswiler
<marcel.ziswiler@toradex.com>
Fri, 20 Jul 2018 08:04:23 +0000
(10:04 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 20 Jul 2018 12:18:32 +0000
(13:18 +0100)
While the two error labels "err" and "err_clk_put" goto the same place
it is rather confusing that the earlier one is certainly used later
again.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_ac97.c
patch
|
blob
|
history
diff --git
a/sound/soc/tegra/tegra20_ac97.c
b/sound/soc/tegra/tegra20_ac97.c
index affad46bf1887d08b78fb89394168ca36bef2fcc..682ef33afb5f39efb3a5946d3c76166647049c5b 100644
(file)
--- a/
sound/soc/tegra/tegra20_ac97.c
+++ b/
sound/soc/tegra/tegra20_ac97.c
@@
-377,7
+377,7
@@
static int tegra20_ac97_platform_probe(struct platform_device *pdev)
ret = clk_prepare_enable(ac97->clk_ac97);
if (ret) {
dev_err(&pdev->dev, "clk_enable failed: %d\n", ret);
- goto err;
+ goto err
_clk_put
;
}
ret = snd_soc_set_ac97_ops(&tegra20_ac97_ops);