ASoC: Reintroduce do_spi_write()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 11 May 2011 17:25:42 +0000 (19:25 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 15 May 2011 15:50:59 +0000 (08:50 -0700)
commitf7391fce6a1553ed3375ee4d73f2deaa3fd69732
treea92dca2322e6c07ced600cec1da27bc2f3fef0f2
parentd5e4b0adf6e694f9a8fb31f51fc381bd8be17eae
ASoC: Reintroduce do_spi_write()

There is an unfortunate difference in return values between spi_write()
and i2c_master_send() so we need an adaptor function to translate.

Reported-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-cache.c