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/codecs/ac97.c | |
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/codecs/ac97.c')
-rw-r--r-- | sound/soc/codecs/ac97.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c index 8a93aff359d0..c4208c8210c8 100644 --- a/sound/soc/codecs/ac97.c +++ b/sound/soc/codecs/ac97.c | |||
@@ -43,7 +43,7 @@ static int ac97_prepare(struct snd_pcm_substream *substream, | |||
43 | 43 | ||
44 | struct snd_soc_dai ac97_dai = { | 44 | struct snd_soc_dai ac97_dai = { |
45 | .name = "AC97 HiFi", | 45 | .name = "AC97 HiFi", |
46 | .type = SND_SOC_DAI_AC97, | 46 | .ac97_control = 1, |
47 | .playback = { | 47 | .playback = { |
48 | .stream_name = "AC97 Playback", | 48 | .stream_name = "AC97 Playback", |
49 | .channels_min = 1, | 49 | .channels_min = 1, |