Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] ASoC: imx-sgtl5000: Do not enter the error path on success
@ 2013-04-17 23:55 Fabio Estevam
  2013-04-17 23:55 ` [RFC 2/4] ASoC: imx-sgtl5000: Let the code clock be a mandatory binding Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Fabio Estevam @ 2013-04-17 23:55 UTC (permalink / raw)
  To: broonie; +Cc: Fabio Estevam, alsa-devel, matt, mfuzzey, kernel, shawn.guo

From: Fabio Estevam <fabio.estevam@freescale.com>

Return on success instead of entering the error path.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 sound/soc/fsl/imx-sgtl5000.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c
index 9584e78..88fc02c 100644
--- a/sound/soc/fsl/imx-sgtl5000.c
+++ b/sound/soc/fsl/imx-sgtl5000.c
@@ -174,6 +174,9 @@ static int imx_sgtl5000_probe(struct platform_device *pdev)
 	}
 
 	platform_set_drvdata(pdev, data);
+
+	return 0;
+
 clk_fail:
 	clk_put(data->codec_clk);
 fail:
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-04-19  3:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 23:55 [PATCH 1/4] ASoC: imx-sgtl5000: Do not enter the error path on success Fabio Estevam
2013-04-17 23:55 ` [RFC 2/4] ASoC: imx-sgtl5000: Let the code clock be a mandatory binding Fabio Estevam
2013-04-18  3:36   ` Shawn Guo
2013-04-18  3:56     ` Fabio Estevam
2013-04-18  6:41       ` Shawn Guo
2013-04-19  3:54         ` Fabio Estevam
2013-04-17 23:55 ` [PATCH 3/4] ASoC: imx-sgtl5000: Do a sanity check on the codec clock Fabio Estevam
2013-04-17 23:55 ` [PATCH 4/4] ASoC: imx-sgtl5000: Convert to devm_clk_get() Fabio Estevam
2013-04-18  1:29 ` [PATCH 1/4] ASoC: imx-sgtl5000: Do not enter the error path on success Shawn Guo
2013-04-18  1:38   ` Shawn Guo
2013-04-18  2:06     ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox