summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8510.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-10-07 11:56:20 +0100
committerTakashi Iwai <tiwai@suse.de>2008-10-13 02:17:15 +0200
commit5e357952b186555afa0ff4da87431c16503a8ad7 (patch)
tree44834045234ae528e128a2ccbe73ff368ce283f0 /sound/soc/codecs/wm8510.h
parentdd0c0c805d932f34e87ee3c2db9eaee0974bfef8 (diff)
downloadop-kernel-dev-5e357952b186555afa0ff4da87431c16503a8ad7.zip
op-kernel-dev-5e357952b186555afa0ff4da87431c16503a8ad7.tar.gz
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 c536839..bdefcf5 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;
};
OpenPOWER on IntegriCloud