ASoC: Add I/O control bus information to factored out cache setup
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 10 Jul 2009 21:24:27 +0000 (22:24 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 3 Aug 2009 15:59:09 +0000 (16:59 +0100)
commit7084a42b965d972079201414d19a399e65b26099
tree391a0ed913eb769013ca65e3c042ac043981dbfa
parent030c819e79e8ad0320486e9ccbe76d2f0870369f
ASoC: Add I/O control bus information to factored out cache setup

While writes tend to be able to use a fairly bus independant format to
do the writes reads are all bus specific. To allow us to factor out
this code include the bus type as a parameter when setting up the
cache.

Initially just use this to factor out hw_write_t for I2C.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/codecs/wm8510.c
sound/soc/codecs/wm8580.c
sound/soc/codecs/wm8728.c
sound/soc/codecs/wm8731.c
sound/soc/codecs/wm8750.c
sound/soc/codecs/wm8960.c
sound/soc/codecs/wm8971.c
sound/soc/codecs/wm8988.c
sound/soc/soc-cache.c