diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-24 19:01:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-11-24 19:01:31 +0100 |
commit | 3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54 (patch) | |
tree | 855569d0aeee6fc06a35928f3b6e351918c9bea6 /sound/soc/sh/hac.c | |
parent | ASoC: TWL4030: Add helper function for output gain controls (diff) | |
download | linux-3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54.tar.xz linux-3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54.zip |
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/sh/hac.c')
-rw-r--r-- | sound/soc/sh/hac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/hac.c b/sound/soc/sh/hac.c index 3318071dc80f..c435913c60eb 100644 --- a/sound/soc/sh/hac.c +++ b/sound/soc/sh/hac.c @@ -271,7 +271,7 @@ struct snd_soc_dai sh4_hac_dai[] = { { .name = "HAC0", .id = 0, - .type = SND_SOC_DAI_AC97, + .ac97_control = 1, .playback = { .rates = AC97_RATES, .formats = AC97_FMTS, @@ -291,8 +291,8 @@ struct snd_soc_dai sh4_hac_dai[] = { #ifdef CONFIG_CPU_SUBTYPE_SH7760 { .name = "HAC1", + .ac97_control = 1, .id = 1, - .type = SND_SOC_DAI_AC97, .playback = { .rates = AC97_RATES, .formats = AC97_FMTS, |