]> 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)
commitb6e1e4e3f33a50651d4942660fac701cbe0d23c5
tree2c20b9bb3d58d9bbb6a2d7d3a85ba19ed0d108ed
parentee58194ed7eadbc06dd7056daa6e0b33122f7185
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