]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit888c64a2c34a9b7a5f2a6b8871d05aa5091f4b37
treeebda9cde5400a1a494e7200f25860a06095a10e5
parentafb919ac9879e5d68985dfeba2972b8ad25afcf2
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