aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 13:01:05 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 13:01:31 -0500
commit3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54 (patch)
tree855569d0aeee6fc06a35928f3b6e351918c9bea6 /sound/soc/s3c24xx
parentb0bd53a7399f65e2d1b37cd44c5003e55b886c1e (diff)
ASoC: Remove DAI type information
DAI type information is only ever used within ASoC in order to special case AC97 and for diagnostic purposes. Since modern CPUs and codecs support multi function DAIs which can be configured for several modes it is more trouble than it's worth to maintain anything other than a flag identifying AC97 DAIs so remove the type field and replace it with an ac97_control flag. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx')
-rw-r--r--sound/soc/s3c24xx/neo1973_wm8753.c1
-rw-r--r--sound/soc/s3c24xx/s3c2412-i2s.c1
-rw-r--r--sound/soc/s3c24xx/s3c2443-ac97.c4
-rw-r--r--sound/soc/s3c24xx/s3c24xx-i2s.c1
4 files changed, 2 insertions, 5 deletions
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c
index 528fc3f1b45b..3df2224a6723 100644
--- a/sound/soc/s3c24xx/neo1973_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_wm8753.c
@@ -548,7 +548,6 @@ static int neo1973_wm8753_init(struct snd_soc_codec *codec)
548static struct snd_soc_dai bt_dai = { 548static struct snd_soc_dai bt_dai = {
549 .name = "Bluetooth", 549 .name = "Bluetooth",
550 .id = 0, 550 .id = 0,
551 .type = SND_SOC_DAI_PCM,
552 .playback = { 551 .playback = {
553 .channels_min = 1, 552 .channels_min = 1,
554 .channels_max = 1, 553 .channels_max = 1,
diff --git a/sound/soc/s3c24xx/s3c2412-i2s.c b/sound/soc/s3c24xx/s3c2412-i2s.c
index 360cc2a49d9d..1c741047ae35 100644
--- a/sound/soc/s3c24xx/s3c2412-i2s.c
+++ b/sound/soc/s3c24xx/s3c2412-i2s.c
@@ -713,7 +713,6 @@ static int s3c2412_i2s_resume(struct platform_device *pdev,
713struct snd_soc_dai s3c2412_i2s_dai = { 713struct snd_soc_dai s3c2412_i2s_dai = {
714 .name = "s3c2412-i2s", 714 .name = "s3c2412-i2s",
715 .id = 0, 715 .id = 0,
716 .type = SND_SOC_DAI_I2S,
717 .probe = s3c2412_i2s_probe, 716 .probe = s3c2412_i2s_probe,
718 .suspend = s3c2412_i2s_suspend, 717 .suspend = s3c2412_i2s_suspend,
719 .resume = s3c2412_i2s_resume, 718 .resume = s3c2412_i2s_resume,
diff --git a/sound/soc/s3c24xx/s3c2443-ac97.c b/sound/soc/s3c24xx/s3c2443-ac97.c
index 31377821b2c5..41bde6a3883b 100644
--- a/sound/soc/s3c24xx/s3c2443-ac97.c
+++ b/sound/soc/s3c24xx/s3c2443-ac97.c
@@ -358,7 +358,7 @@ struct snd_soc_dai s3c2443_ac97_dai[] = {
358{ 358{
359 .name = "s3c2443-ac97", 359 .name = "s3c2443-ac97",
360 .id = 0, 360 .id = 0,
361 .type = SND_SOC_DAI_AC97, 361 .ac97_control = 1,
362 .probe = s3c2443_ac97_probe, 362 .probe = s3c2443_ac97_probe,
363 .remove = s3c2443_ac97_remove, 363 .remove = s3c2443_ac97_remove,
364 .playback = { 364 .playback = {
@@ -380,7 +380,7 @@ struct snd_soc_dai s3c2443_ac97_dai[] = {
380{ 380{
381 .name = "pxa2xx-ac97-mic", 381 .name = "pxa2xx-ac97-mic",
382 .id = 1, 382 .id = 1,
383 .type = SND_SOC_DAI_AC97, 383 .ac97_control = 1,
384 .capture = { 384 .capture = {
385 .stream_name = "AC97 Mic Capture", 385 .stream_name = "AC97 Mic Capture",
386 .channels_min = 1, 386 .channels_min = 1,
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c
index 1bac9dd3dbd4..8d9135f41bc9 100644
--- a/sound/soc/s3c24xx/s3c24xx-i2s.c
+++ b/sound/soc/s3c24xx/s3c24xx-i2s.c
@@ -461,7 +461,6 @@ static int s3c24xx_i2s_resume(struct platform_device *pdev,
461struct snd_soc_dai s3c24xx_i2s_dai = { 461struct snd_soc_dai s3c24xx_i2s_dai = {
462 .name = "s3c24xx-i2s", 462 .name = "s3c24xx-i2s",
463 .id = 0, 463 .id = 0,
464 .type = SND_SOC_DAI_I2S,
465 .probe = s3c24xx_i2s_probe, 464 .probe = s3c24xx_i2s_probe,
466 .suspend = s3c24xx_i2s_suspend, 465 .suspend = s3c24xx_i2s_suspend,
467 .resume = s3c24xx_i2s_resume, 466 .resume = s3c24xx_i2s_resume,