summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>2022-08-26 12:12:45 +0530
committerMark Brown <broonie@kernel.org>2022-08-28 22:04:03 +0100
commit99a387c7818fe422fa96458f56bc74f05f263013 (patch)
tree090f711ecda5b58cad1eec9f6b495e361938dbd8 /sound/soc/amd
parentc18b6c188cd9d1db93ee72513ce367e4195b1c2a (diff)
downloadlinux-99a387c7818fe422fa96458f56bc74f05f263013.tar.bz2
ASoC: amd: acp: Modify dai_id macros to be more generic
Change dai_id macros to make I2S instances in order. Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com> Link: https://lore.kernel.org/r/20220826064250.3302260-1-venkataprasad.potturu@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r--sound/soc/amd/acp/amd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/amd/acp/amd.h b/sound/soc/amd/acp/amd.h
index afa4e25cba19..5f2119f42271 100644
--- a/sound/soc/amd/acp/amd.h
+++ b/sound/soc/amd/acp/amd.h
@@ -21,9 +21,9 @@
#define ACP3X_DEV 3
#define ACP6X_DEV 6
-#define I2S_SP_INSTANCE 0x00
-#define I2S_BT_INSTANCE 0x01
-#define DMIC_INSTANCE 0x02
+#define DMIC_INSTANCE 0x00
+#define I2S_SP_INSTANCE 0x01
+#define I2S_BT_INSTANCE 0x02
#define I2S_HS_INSTANCE 0x03
#define MEM_WINDOW_START 0x4080000