ASoC: tas2552: Return the real error code
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 11 Apr 2017 13:42:02 +0000 (10:42 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 11 Apr 2017 18:35:58 +0000 (19:35 +0100)
commit6f2daf82fa1e92fcc10ec34a1d0ffe85a00bf794
treeebda9cde5400a1a494e7200f25860a06095a10e5
parent6cd6ad0e45b9ea48bf3b62eee2dd7238f3e4dd7c
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>
sound/soc/codecs/tas2552.c