ASoC: soc-cache: Factor-out the I2C read code
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 22 Mar 2011 10:37:01 +0000 (10:37 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Mar 2011 17:44:05 +0000 (17:44 +0000)
commitf3594f5c5c489d159f6d487a889d9d68ca4c0123
treef8e0f85887c429f9ec183ab372a1610a76397a8c
parent8b573c95d7bd1cf28c69ab4e0255cd272d214482
ASoC: soc-cache: Factor-out the I2C read code

The handling of all snd_soc_x_y_read_i2c() functions is similar.
Make a generic I2C read function and update all callers 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