瀏覽代碼

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>
Mark Brown 13 年之前
父節點
當前提交
623682941a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/sound/soc-dai.h

+ 1 - 0
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);