ASoC: fsl_asrc: Propagate the real error code
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 19 Aug 2016 13:30:59 +0000 (10:30 -0300)
committerMark Brown <broonie@kernel.org>
Fri, 19 Aug 2016 14:20:05 +0000 (15:20 +0100)
commitc029695085145570eba12b6cf236954b42eb4fd5
tree6dcace8fa811caa98097f6b0d7cc13fc94f46252
parent6ea9c7ddd96d88e6cc391e63b5ed2fcfe41d5725
ASoC: fsl_asrc: Propagate the real error code

Instead of returning -EINVAL on error, return the real error code.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.c