summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8750.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-09-16 13:51:26 +0200
committerJaroslav Kysela <perex@perex.cz>2008-09-23 08:18:19 +0200
commit2f3dfaf5da3d43a1483b063e9d0692789241febb (patch)
treebe15fc2d8c63078c0d7aa23b073d3fbab9eeb216 /sound/soc/codecs/wm8750.h
parentsound: ASoC: DAPM support for ADC on WM9713 PCM interface (diff)
downloadlinux-2f3dfaf5da3d43a1483b063e9d0692789241febb.tar.xz
linux-2f3dfaf5da3d43a1483b063e9d0692789241febb.zip
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 fe6c80f7d9e2..1dc100e19cfe 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;
};