Explorar o código

asoc: update macro for MAX DAI ID to include all frontend dai

Routing driver uses this macro to manage all allowed session,
hence update is needed.

Change-Id: Id6367d89e99ddb427078e2264c3c72832937f96a
Signed-off-by: Pallavi <[email protected]>
Pallavi %!s(int64=5) %!d(string=hai) anos
pai
achega
f647fdaae1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      asoc/msm-pcm-routing-v2.h

+ 2 - 2
asoc/msm-pcm-routing-v2.h

@@ -297,8 +297,8 @@ enum {
 	MSM_FRONTEND_DAI_MAX,
 };
 
-#define MSM_FRONTEND_DAI_MM_SIZE (MSM_FRONTEND_DAI_MULTIMEDIA32 + 1)
-#define MSM_FRONTEND_DAI_MM_MAX_ID MSM_FRONTEND_DAI_MULTIMEDIA32
+#define MSM_FRONTEND_DAI_MM_SIZE (MSM_FRONTEND_DAI_MAX + 1)
+#define MSM_FRONTEND_DAI_MM_MAX_ID MSM_FRONTEND_DAI_MAX
 
 enum {
 	MSM_BACKEND_DAI_PRI_I2S_RX = 0,