diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-01-23 21:40:13 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-03 07:41:36 -0500 |
commit | 106d2eff563b2abdb34872cb8ec7b19766edaffc (patch) | |
tree | 74116d5c1897b4a540531efbddaffd99c46904a4 /sound/soc/sh/rcar | |
parent | 9b5ab573a81b9ac0df90b74d732651fdf8b24525 (diff) |
ASoC: rsnd: non 0 is error on probe
Some xxx_probe() returns not only -Exx, but also PTR_ERR().
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/sh/rcar')
-rw-r--r-- | sound/soc/sh/rcar/core.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index ed8611f9c64f..4fd57351c54a 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c | |||
@@ -737,23 +737,23 @@ static int rsnd_probe(struct platform_device *pdev) | |||
737 | * init each module | 737 | * init each module |
738 | */ | 738 | */ |
739 | ret = rsnd_gen_probe(pdev, info, priv); | 739 | ret = rsnd_gen_probe(pdev, info, priv); |
740 | if (ret < 0) | 740 | if (ret) |
741 | return ret; | 741 | return ret; |
742 | 742 | ||
743 | ret = rsnd_scu_probe(pdev, info, priv); | 743 | ret = rsnd_scu_probe(pdev, info, priv); |
744 | if (ret < 0) | 744 | if (ret) |
745 | return ret; | 745 | return ret; |
746 | 746 | ||
747 | ret = rsnd_adg_probe(pdev, info, priv); | 747 | ret = rsnd_adg_probe(pdev, info, priv); |
748 | if (ret < 0) | 748 | if (ret) |
749 | return ret; | 749 | return ret; |
750 | 750 | ||
751 | ret = rsnd_ssi_probe(pdev, info, priv); | 751 | ret = rsnd_ssi_probe(pdev, info, priv); |
752 | if (ret < 0) | 752 | if (ret) |
753 | return ret; | 753 | return ret; |
754 | 754 | ||
755 | ret = rsnd_dai_probe(pdev, info, priv); | 755 | ret = rsnd_dai_probe(pdev, info, priv); |
756 | if (ret < 0) | 756 | if (ret) |
757 | return ret; | 757 | return ret; |
758 | 758 | ||
759 | /* | 759 | /* |