]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaff9048a2cc322058718447145295069eff6dcbf
treed6fdbb586764deb691db4cbfab419249a805e080
parent8158a48f9574c2581dac4d87bc3d65de7be76493
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