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)
commitab2874a8faac9db00eb03ec831b9a983627fb2d1
tree3cc7f1007d4c3ff3b62fe6a06fefd6bc348aa782
parentb7580cde704920da69e50d133cea16eca77ff3bd
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