From: Mark Brown Date: Tue, 1 May 2012 19:03:32 +0000 (+0100) Subject: ASoC: core: Allow DAIs to specify a base address X-Git-Tag: v3.5-rc1~13^2~9^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=623682941a11e6e09dcf88c4b2e3e88cf6a255a5;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Acked-by: Liam Girdwood --- diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index bb245f1..1f69e0a 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -198,6 +198,7 @@ struct snd_soc_dai_driver { const char *name; unsigned int id; int ac97_control; + unsigned int base; /* DAI driver callbacks */ int (*probe)(struct snd_soc_dai *dai);