summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8750.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-09-16 12:51:26 +0100
committerJaroslav Kysela <perex@perex.cz>2008-09-23 08:18:19 +0200
commit2f3dfaf5da3d43a1483b063e9d0692789241febb (patch)
treebe15fc2d8c63078c0d7aa23b073d3fbab9eeb216 /sound/soc/codecs/wm8750.h
parentccbc301e5346e115931ab052837d32778f8fd544 (diff)
downloadop-kernel-dev-2f3dfaf5da3d43a1483b063e9d0692789241febb.zip
op-kernel-dev-2f3dfaf5da3d43a1483b063e9d0692789241febb.tar.gz
sound: ASoC: Add WM8750 SPI support
Implement SPI support for WM8750, cut'n'pasting from the support for WM8731 contributed by Cliff Cai and Alan Horstmann since the wire format is the same for both codecs. Also fix a cut'n'pasted comment in the I2C side of the driver (which was clearly written in the same way) while we're at it. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/codecs/wm8750.h')
-rw-r--r--sound/soc/codecs/wm8750.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8750.h b/sound/soc/codecs/wm8750.h
index fe6c80f..1dc100e 100644
--- a/sound/soc/codecs/wm8750.h
+++ b/sound/soc/codecs/wm8750.h
@@ -58,6 +58,7 @@
#define WM8750_SYSCLK 0
struct wm8750_setup_data {
+ int spi;
int i2c_bus;
unsigned short i2c_address;
};
OpenPOWER on IntegriCloud