[PATCH] ASoC: amd: acp: Modify dai_id macros to be more generic

Venkata Prasad Potturu posted 1 patch 3 years, 5 months ago
There is a newer version of this series
sound/soc/amd/acp/amd.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] ASoC: amd: acp: Modify dai_id macros to be more generic
Posted by Venkata Prasad Potturu 3 years, 5 months ago
Update dai_id macros to make code generic for all platforms.

Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
---
 sound/soc/amd/acp/amd.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/soc/amd/acp/amd.h b/sound/soc/amd/acp/amd.h
index 148a9ab6206d..ff2fb476fa6c 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
-- 
2.25.1
Re: [PATCH] ASoC: amd: acp: Modify dai_id macros to be more generic
Posted by Mark Brown 3 years, 5 months ago
On Fri, Jul 22, 2022 at 07:47:03PM +0530, Venkata Prasad Potturu wrote:
> Update dai_id macros to make code generic for all platforms.

> -#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

This looks like it's just an indentation/formatting change which isn't
what the changelog said?