aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dai.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 18:01:05 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-11-24 18:01:31 +0000
commit3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54 (patch)
tree855569d0aeee6fc06a35928f3b6e351918c9bea6 /include/sound/soc-dai.h
parentASoC: TWL4030: Add helper function for output gain controls (diff)
downloadlinux-dev-3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54.tar.xz
linux-dev-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 'include/sound/soc-dai.h')
-rw-r--r--include/sound/soc-dai.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h
index f51cb55902f7..a01a24b10196 100644
--- a/include/sound/soc-dai.h
+++ b/include/sound/soc-dai.h
@@ -184,7 +184,7 @@ struct snd_soc_dai {
/* DAI description */
char *name;
unsigned int id;
- unsigned char type;
+ int ac97_control;
/* DAI callbacks */
int (*probe)(struct platform_device *pdev,