mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 21:39:27 +07:00
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>
This commit is contained in:
parent
9b5ab573a8
commit
106d2eff56
@ -737,23 +737,23 @@ static int rsnd_probe(struct platform_device *pdev)
|
||||
* init each module
|
||||
*/
|
||||
ret = rsnd_gen_probe(pdev, info, priv);
|
||||
if (ret < 0)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = rsnd_scu_probe(pdev, info, priv);
|
||||
if (ret < 0)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = rsnd_adg_probe(pdev, info, priv);
|
||||
if (ret < 0)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = rsnd_ssi_probe(pdev, info, priv);
|
||||
if (ret < 0)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = rsnd_dai_probe(pdev, info, priv);
|
||||
if (ret < 0)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user