Prechádzať zdrojové kódy

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 5 rokov pred
rodič
commit
f647fdaae1
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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,