* [PATCH] ASoC: Return proper error if snd_soc_register_dais fails in psc_i2s_of_probe
@ 2010-11-08 5:24 Axel Lin
2010-11-08 9:16 ` Liam Girdwood
2010-11-08 17:18 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2010-11-08 5:24 UTC (permalink / raw)
To: linux-kernel; +Cc: Grant Likely, Liam Girdwood, Mark Brown
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/fsl/mpc5200_psc_i2s.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/fsl/mpc5200_psc_i2s.c b/sound/soc/fsl/mpc5200_psc_i2s.c
index 74ffed4..9018fa5 100644
--- a/sound/soc/fsl/mpc5200_psc_i2s.c
+++ b/sound/soc/fsl/mpc5200_psc_i2s.c
@@ -160,7 +160,7 @@ static int __devinit psc_i2s_of_probe(struct platform_device *op,
rc = snd_soc_register_dais(&op->dev, psc_i2s_dai, ARRAY_SIZE(psc_i2s_dai));
if (rc != 0) {
pr_err("Failed to register DAI\n");
- return 0;
+ return rc;
}
psc_dma = dev_get_drvdata(&op->dev);
--
1.7.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: Return proper error if snd_soc_register_dais fails in psc_i2s_of_probe
2010-11-08 5:24 [PATCH] ASoC: Return proper error if snd_soc_register_dais fails in psc_i2s_of_probe Axel Lin
@ 2010-11-08 9:16 ` Liam Girdwood
2010-11-08 17:18 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2010-11-08 9:16 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Grant Likely, Mark Brown
On Mon, 2010-11-08 at 13:24 +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> sound/soc/fsl/mpc5200_psc_i2s.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Return proper error if snd_soc_register_dais fails in psc_i2s_of_probe
2010-11-08 5:24 [PATCH] ASoC: Return proper error if snd_soc_register_dais fails in psc_i2s_of_probe Axel Lin
2010-11-08 9:16 ` Liam Girdwood
@ 2010-11-08 17:18 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2010-11-08 17:18 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Grant Likely, Liam Girdwood
On Mon, Nov 08, 2010 at 01:24:58PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-08 17:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08 5:24 [PATCH] ASoC: Return proper error if snd_soc_register_dais fails in psc_i2s_of_probe Axel Lin
2010-11-08 9:16 ` Liam Girdwood
2010-11-08 17:18 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox