projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
197ebd4
)
ASoC: Return proper error if snd_soc_register_dais fails in psc_i2s_of_probe
author
Axel Lin
<axel.lin@gmail.com>
Mon, 8 Nov 2010 05:24:58 +0000
(13:24 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 8 Nov 2010 16:28:33 +0000
(16:28 +0000)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/mpc5200_psc_i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/mpc5200_psc_i2s.c
b/sound/soc/fsl/mpc5200_psc_i2s.c
index 74ffed41340ff00c5d9ba97dc927059731b80673..9018fa5bf0db8db93737ef946073613f20b279df 100644
(file)
--- 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);