aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJonas Bonn <jonas.bonn@gmail.com>2008-11-19 17:11:22 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:22 +0000
commit1b7643a83c1f2e071c9a4caaa3874e940a10c682 (patch)
tree55312784c02a79b1a21af2b4a0e648611486f4cf /sound
parent8466b6200dcae5b7c219493c59639d10ea391bed (diff)
GTA01: Hack to make GTA01 boot
This is probably not correct as the i2c registration is not supposed to work this way, but for the time being, add this hack to make the GTA01 at least boot. Revisit this and drop this patch when possible. Thanks to Andy Green for the tip. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/s3c24xx/neo1973_wm8753.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
index 135006bd355..4c2117a37a9 100644
--- a/sound/soc/s3c24xx/neo1973_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_wm8753.c
@@ -585,10 +585,16 @@ static struct snd_soc_machine neo1973 = {
.num_links = ARRAY_SIZE(neo1973_dai),
};
+static struct wm8753_setup_data soc_codec_data_wm8753_gta01 = {
+ .i2c_bus = 0,
+ .i2c_address = 0x1a,
+};
+
static struct snd_soc_device neo1973_snd_devdata = {
.machine = &neo1973,
.platform = &s3c24xx_soc_platform,
.codec_dev = &soc_codec_dev_wm8753,
+ .codec_data = &soc_codec_data_wm8753_gta01
};
static int lm4857_i2c_probe(struct i2c_client *client,