aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-03-02 11:22:03 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-02 11:22:03 +0000
commit0e14f3aabd0b6fc26f6fe93f79405b71fb8a4da7 (patch)
tree4b2300c288691fd603a01375243200ea38ea3e7d /sound
parent398ae1abfc741eca50454895ef649dea452f942d (diff)
OpenMoko: Update for normal WM8753 device registration.
The WM8753 driver now uses the standard I2C device registration model and so requires the platform to register the device. Convert the OpenMoko GTA0x series devices to do so. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/s3c24xx/neo1973_gta02_wm8753.c9
-rw-r--r--sound/soc/s3c24xx/om_gta03_wm8753.c7
2 files changed, 0 insertions, 16 deletions
diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
index 77a58b38bde..5ecab55c657 100644
--- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
@@ -612,18 +612,9 @@ static struct snd_soc_card neo1973_gta02 = {
.num_links = ARRAY_SIZE(neo1973_gta02_dai),
};
-/* Audio private data */
-static struct wm8753_setup_data soc_codec_data_wm8753_gta02 = {
- .i2c_bus = 0,
- .i2c_address = 0x1a,
-// .gpio_func[0] = AIC3X_GPIO1_FUNC_DISABLED,
-// .gpio_func[1] = AIC3X_GPIO2_FUNC_DIGITAL_MIC_INPUT,
-};
-
static struct snd_soc_device neo1973_gta02_snd_devdata = {
.card = &neo1973_gta02,
.codec_dev = &soc_codec_dev_wm8753,
- .codec_data = &soc_codec_data_wm8753_gta02,
};
diff --git a/sound/soc/s3c24xx/om_gta03_wm8753.c b/sound/soc/s3c24xx/om_gta03_wm8753.c
index c55c0b14e27..8df3c7581c1 100644
--- a/sound/soc/s3c24xx/om_gta03_wm8753.c
+++ b/sound/soc/s3c24xx/om_gta03_wm8753.c
@@ -517,16 +517,9 @@ static struct snd_soc_card om_gta03 = {
.num_links = ARRAY_SIZE(om_gta03_dai),
};
-/* Audio private data */
-static struct wm8753_setup_data soc_codec_data_wm8753_gta02 = {
- .i2c_bus = 0,
- .i2c_address = 0x1a,
-};
-
static struct snd_soc_device om_gta03_snd_devdata = {
.card = &om_gta03,
.codec_dev = &soc_codec_dev_wm8753,
- .codec_data = &soc_codec_data_wm8753_gta02,
};
static struct platform_device *om_gta03_snd_device;