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)
commitb8cbc195202d05efcda6af81c669577e3cb793e5
tree38587960091cb042d17dc3d1a10fa1985db8ffd7
parent26e9984cbcdde100e5af15382f2297fef1ce7804
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