]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-cache: Factor-out the hw_read() specific code
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 22 Mar 2011 10:36:59 +0000 (10:36 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Mar 2011 17:44:48 +0000 (17:44 +0000)
commit6e841dfb2167943d51e687932a5f7f1889aad1e2
tree38587960091cb042d17dc3d1a10fa1985db8ffd7
parentaff9048a2cc322058718447145295069eff6dcbf
ASoC: soc-cache: Factor-out the hw_read() specific code

The handling of all snd_soc_x_y_read() functions is similar.
Factor it out into a separate function and update all callers.

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