]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2552: Propagate the error code in suspend/resume
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 25 Apr 2017 00:43:49 +0000 (21:43 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 25 Apr 2017 15:40:17 +0000 (16:40 +0100)
commit4ba496ff0c8321e679ee4086b8aac0a175688bb3
tree2c20b9bb3d58d9bbb6a2d7d3a85ba19ed0d108ed
parent28f2051667a698eeb5710ef5f7f8576cc370d6be
ASoC: tas2552: Propagate the error code in suspend/resume

tas2552_suspend() and tas2552_resume() currently always return success,
even though they may fail.

Fix this behaviour by always propagating the error code.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.c