]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Change return type of snd_soc_write() to int
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 19 Apr 2014 08:43:57 +0000 (10:43 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 21 Apr 2014 10:21:25 +0000 (11:21 +0100)
commitb601b7441931211a09ae1e75eac51e8c7186e0d5
tree3cc7f1007d4c3ff3b62fe6a06fefd6bc348aa782
parente0fc082c4dff3dc866a817001a2709fa1b4587d1
ASoC: Change return type of snd_soc_write() to int

The CODEC's write callback can return a negative error code, make sure to pass
that on correctly.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-io.c