diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2010-04-08 14:48:51 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-09 07:17:42 -0400 |
commit | 6ca0c22ef8a4e988e2487d25964d55e6c37c5785 (patch) | |
tree | 81d76373c822209b0e69559a472cf5ca9f2c239d /sound/soc/s3c24xx | |
parent | 53a61d967a480307db4c8f7950ddb8bb1a0fda9b (diff) |
ASoC: WM8750: Convert to new API
Register the WM8750 as a SPI or I2C device. This patch mostly shuffles code
around. Hugely inspired by WM8753 which was already converted.
Also, this patch fixes the Jive and Spitz machine.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx')
-rw-r--r-- | sound/soc/s3c24xx/jive_wm8750.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/s3c24xx/jive_wm8750.c b/sound/soc/s3c24xx/jive_wm8750.c index 59dc2c6b56d9..97d8ff3196be 100644 --- a/sound/soc/s3c24xx/jive_wm8750.c +++ b/sound/soc/s3c24xx/jive_wm8750.c | |||
@@ -152,15 +152,10 @@ static struct snd_soc_card snd_soc_machine_jive = { | |||
152 | .num_links = 1, | 152 | .num_links = 1, |
153 | }; | 153 | }; |
154 | 154 | ||
155 | /* jive audio private data */ | ||
156 | static struct wm8750_setup_data jive_wm8750_setup = { | ||
157 | }; | ||
158 | |||
159 | /* jive audio subsystem */ | 155 | /* jive audio subsystem */ |
160 | static struct snd_soc_device jive_snd_devdata = { | 156 | static struct snd_soc_device jive_snd_devdata = { |
161 | .card = &snd_soc_machine_jive, | 157 | .card = &snd_soc_machine_jive, |
162 | .codec_dev = &soc_codec_dev_wm8750, | 158 | .codec_dev = &soc_codec_dev_wm8750, |
163 | .codec_data = &jive_wm8750_setup, | ||
164 | }; | 159 | }; |
165 | 160 | ||
166 | static struct platform_device *jive_snd_device; | 161 | static struct platform_device *jive_snd_device; |