summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8510.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-10-07 14:56:20 +0400
committerTakashi Iwai <tiwai@suse.de>2008-10-13 04:17:15 +0400
commit5e357952b186555afa0ff4da87431c16503a8ad7 (patch)
tree44834045234ae528e128a2ccbe73ff368ce283f0 /sound/soc/codecs/wm8510.h
parentdd0c0c805d932f34e87ee3c2db9eaee0974bfef8 (diff)
downloadlinux-5e357952b186555afa0ff4da87431c16503a8ad7.tar.xz
ALSA: ASoC: Add WM8510 SPI support
Implement SPI support for WM8510, 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. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm8510.h')
-rw-r--r--sound/soc/codecs/wm8510.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8510.h b/sound/soc/codecs/wm8510.h
index c53683960456..bdefcf5c69ff 100644
--- a/sound/soc/codecs/wm8510.h
+++ b/sound/soc/codecs/wm8510.h
@@ -94,6 +94,7 @@
#define WM8510_MCLKDIV_12 (7 << 5)
struct wm8510_setup_data {
+ int spi;
int i2c_bus;
unsigned short i2c_address;
};