diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-24 13:01:05 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-24 13:01:31 -0500 |
commit | 3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54 (patch) | |
tree | 855569d0aeee6fc06a35928f3b6e351918c9bea6 /sound/soc/atmel | |
parent | b0bd53a7399f65e2d1b37cd44c5003e55b886c1e (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/atmel')
-rw-r--r-- | sound/soc/atmel/atmel_ssc_dai.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 916f73b9a18f..0bb18dfa9495 100644 --- a/sound/soc/atmel/atmel_ssc_dai.c +++ b/sound/soc/atmel/atmel_ssc_dai.c | |||
@@ -702,7 +702,6 @@ static int atmel_ssc_resume(struct platform_device *pdev, | |||
702 | struct snd_soc_dai atmel_ssc_dai[NUM_SSC_DEVICES] = { | 702 | struct snd_soc_dai atmel_ssc_dai[NUM_SSC_DEVICES] = { |
703 | { .name = "atmel-ssc0", | 703 | { .name = "atmel-ssc0", |
704 | .id = 0, | 704 | .id = 0, |
705 | .type = SND_SOC_DAI_PCM, | ||
706 | .suspend = atmel_ssc_suspend, | 705 | .suspend = atmel_ssc_suspend, |
707 | .resume = atmel_ssc_resume, | 706 | .resume = atmel_ssc_resume, |
708 | .playback = { | 707 | .playback = { |
@@ -727,7 +726,6 @@ struct snd_soc_dai atmel_ssc_dai[NUM_SSC_DEVICES] = { | |||
727 | #if NUM_SSC_DEVICES == 3 | 726 | #if NUM_SSC_DEVICES == 3 |
728 | { .name = "atmel-ssc1", | 727 | { .name = "atmel-ssc1", |
729 | .id = 1, | 728 | .id = 1, |
730 | .type = SND_SOC_DAI_PCM, | ||
731 | .suspend = atmel_ssc_suspend, | 729 | .suspend = atmel_ssc_suspend, |
732 | .resume = atmel_ssc_resume, | 730 | .resume = atmel_ssc_resume, |
733 | .playback = { | 731 | .playback = { |
@@ -751,7 +749,6 @@ struct snd_soc_dai atmel_ssc_dai[NUM_SSC_DEVICES] = { | |||
751 | }, | 749 | }, |
752 | { .name = "atmel-ssc2", | 750 | { .name = "atmel-ssc2", |
753 | .id = 2, | 751 | .id = 2, |
754 | .type = SND_SOC_DAI_PCM, | ||
755 | .suspend = atmel_ssc_suspend, | 752 | .suspend = atmel_ssc_suspend, |
756 | .resume = atmel_ssc_resume, | 753 | .resume = atmel_ssc_resume, |
757 | .playback = { | 754 | .playback = { |