aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-01 15:03:32 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-02 10:42:27 -0400
commit623682941a11e6e09dcf88c4b2e3e88cf6a255a5 (patch)
tree0e3316d5fa87068a993556de50c41e5113a65b76 /include/sound
parent94aa733a477dd5fe6eb153e5b6741488d743fab5 (diff)
ASoC: core: Allow DAIs to specify a base address
Devices with many DAIs are becoming more and more common, and generally the more modern devices have consistent register layouts between DAIs. Rather than have drivers open code lookups based on the DAI ID or cause uglification in UI by having register addresses for IDs provide a base address field they can use. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dai.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h
index bb245f153f94..1f69e0af2941 100644
--- a/include/sound/soc-dai.h
+++ b/include/sound/soc-dai.h
@@ -198,6 +198,7 @@ struct snd_soc_dai_driver {
198 const char *name; 198 const char *name;
199 unsigned int id; 199 unsigned int id;
200 int ac97_control; 200 int ac97_control;
201 unsigned int base;
201 202
202 /* DAI driver callbacks */ 203 /* DAI driver callbacks */
203 int (*probe)(struct snd_soc_dai *dai); 204 int (*probe)(struct snd_soc_dai *dai);