]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Squash error codes from regmap down to -1 on read
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Oct 2011 13:06:13 +0000 (14:06 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 9 Oct 2011 13:35:59 +0000 (14:35 +0100)
commit7aa377fc91d0c1a2198abbff935aec9cd442317f
tree547b4a260aa35e58b147ec1f30ab0b41675c2d74
parentcf3490e0b4925636a5ecbaa1db422ed3608eb353
ASoC: Squash error codes from regmap down to -1 on read

The ASoC code always uses -1 as the error code due to reporting errors in
band with the value. Ensure we don't confuse anything by making sure we
don't pass actual error codes back into the rest of the code on read.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-io.c