Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Venkata Prasad Potturu and committed by
Mark Brown
99a387c7 c18b6c18

+3 -3
+3 -3
sound/soc/amd/acp/amd.h
··· 21 21 #define ACP3X_DEV 3 22 22 #define ACP6X_DEV 6 23 23 24 - #define I2S_SP_INSTANCE 0x00 25 - #define I2S_BT_INSTANCE 0x01 26 - #define DMIC_INSTANCE 0x02 24 + #define DMIC_INSTANCE 0x00 25 + #define I2S_SP_INSTANCE 0x01 26 + #define I2S_BT_INSTANCE 0x02 27 27 #define I2S_HS_INSTANCE 0x03 28 28 29 29 #define MEM_WINDOW_START 0x4080000