hal: msm8974: Fix echo reference port for msm8x10
Echo cancellation is not working in VoIP calls.
Echo reference port is set as I2S_RX which inturn sets
PRIMARY_I2S_RX as echo reference port while configuring
ADM is causing the issue.
8x10 is using SECONDARY_I2S_RX port in Rx path. Update
the EC reference port accordingly.
CRs-Fixed: 646310
Change-Id: If949c6c7487c36a02e5bcedb3c779f502592ce64
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h
index f119fcd..be4f5d4 100644
--- a/hal/msm8974/platform.h
+++ b/hal/msm8974/platform.h
@@ -186,7 +186,7 @@
#ifdef PLATFORM_MSM8610
#define LOWLATENCY_PCM_DEVICE 12
-#define EC_REF_RX "I2S_RX"
+#define EC_REF_RX "SEC_I2S_RX"
#else
#define LOWLATENCY_PCM_DEVICE 15
#define EC_REF_RX "SLIM_RX"