aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x
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/au1x
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/au1x')
-rw-r--r--sound/soc/au1x/psc-ac97.c2
-rw-r--r--sound/soc/au1x/psc-i2s.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/au1x/psc-ac97.c b/sound/soc/au1x/psc-ac97.c
index ad60a6042cad..a0bcfeaf5f86 100644
--- a/sound/soc/au1x/psc-ac97.c
+++ b/sound/soc/au1x/psc-ac97.c
@@ -346,7 +346,7 @@ static int au1xpsc_ac97_resume(struct platform_device *pdev,
346 346
347struct snd_soc_dai au1xpsc_ac97_dai = { 347struct snd_soc_dai au1xpsc_ac97_dai = {
348 .name = "au1xpsc_ac97", 348 .name = "au1xpsc_ac97",
349 .type = SND_SOC_DAI_AC97, 349 .ac97_control = 1,
350 .probe = au1xpsc_ac97_probe, 350 .probe = au1xpsc_ac97_probe,
351 .remove = au1xpsc_ac97_remove, 351 .remove = au1xpsc_ac97_remove,
352 .suspend = au1xpsc_ac97_suspend, 352 .suspend = au1xpsc_ac97_suspend,
diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c
index 05a5acbb16ae..f4217e70a787 100644
--- a/sound/soc/au1x/psc-i2s.c
+++ b/sound/soc/au1x/psc-i2s.c
@@ -371,7 +371,6 @@ static int au1xpsc_i2s_resume(struct platform_device *pdev,
371 371
372struct snd_soc_dai au1xpsc_i2s_dai = { 372struct snd_soc_dai au1xpsc_i2s_dai = {
373 .name = "au1xpsc_i2s", 373 .name = "au1xpsc_i2s",
374 .type = SND_SOC_DAI_I2S,
375 .probe = au1xpsc_i2s_probe, 374 .probe = au1xpsc_i2s_probe,
376 .remove = au1xpsc_i2s_remove, 375 .remove = au1xpsc_i2s_remove,
377 .suspend = au1xpsc_i2s_suspend, 376 .suspend = au1xpsc_i2s_suspend,