asoc: support SEC_TDM_RX as echo reference

Port of speaker TX would not be enabled in handset mode, so
echo reference should be assigned from speaker RX.

Bug: 149605543
Test: Phone/Hangout/Skype on handset/handsfree mode

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I565cf3152fc7b1137ca4ef75fcba625ada2b9be0
diff --git a/asoc/msm-pcm-routing-v2.c b/asoc/msm-pcm-routing-v2.c
index 112d67e..f80dc6d 100644
--- a/asoc/msm-pcm-routing-v2.c
+++ b/asoc/msm-pcm-routing-v2.c
@@ -4119,6 +4119,10 @@
 		msm_route_ec_ref_rx = 37;
 		ec_ref_port_id = AFE_PORT_ID_TERTIARY_TDM_RX;
 		break;
+	case 38:
+		msm_route_ec_ref_rx = 38;
+		ec_ref_port_id = AFE_PORT_ID_SECONDARY_TDM_RX;
+		break;
 	default:
 		msm_route_ec_ref_rx = 0; /* NONE */
 		pr_err("%s EC ref rx %ld not valid\n",
@@ -4146,7 +4150,7 @@
 	"WSA_CDC_DMA_TX_0", "WSA_CDC_DMA_TX_1", "WSA_CDC_DMA_TX_2",
 	"SLIM_7_RX", "RX_CDC_DMA_RX_0", "RX_CDC_DMA_RX_1", "RX_CDC_DMA_RX_2",
 	"RX_CDC_DMA_RX_3", "TX_CDC_DMA_TX_0", "TERT_TDM_RX_2", "SEC_TDM_TX_0",
-	"TERT_TDM_RX_0",
+	"TERT_TDM_RX_0", "SEC_TDM_RX_0",
 };
 
 static const struct soc_enum msm_route_ec_ref_rx_enum[] = {