mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 21:54:06 +08:00
ASoC: tas2552: Return the real error code
In the case of error in tas2552_codec_probe() we should better propagate the real error code instead of always returning '-EIO'. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6cd6ad0e45
commit
6f2daf82fa
@ -611,7 +611,7 @@ probe_fail:
|
||||
|
||||
regulator_bulk_disable(ARRAY_SIZE(tas2552->supplies),
|
||||
tas2552->supplies);
|
||||
return -EIO;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int tas2552_codec_remove(struct snd_soc_codec *codec)
|
||||
|
Loading…
Reference in New Issue
Block a user