ASoC: soc-cache: Factor-out the hw_write() specific code
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 22 Mar 2011 10:36:58 +0000 (10:36 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Mar 2011 17:44:38 +0000 (17:44 +0000)
commit26e9984cbcdde100e5af15382f2297fef1ce7804
treed6fdbb586764deb691db4cbfab419249a805e080
parent67850a892bf627e1c627bc8d0bcd84b90ecc9d7f
ASoC: soc-cache: Factor-out the hw_write() specific code

The handling of all snd_soc_x_y_write() functions is similar.
Factor it out into a separate function and update all functions
to use it.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-cache.c