Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bb7174e authored by Ravinder Konka's avatar Ravinder Konka
Browse files

msm: ipa: Fix to initialize IPA_CLIENT_Q6_WAN_PROD



IPA_CLIENT_Q6_WAN_PROD pipe is used starting from 3.0. Update ep_mapping
table for lesser HW versions with -1 so that stale value is not used.

Change-Id: Ifdcde9f517555cd869ae1882ea0c53f5b760098a
Acked-by: default avatarChaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: default avatarRavinder Konka <rkonka@codeaurora.org>
parent 2002720e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ static const int ep_mapping[3][IPA_CLIENT_MAX] = {
	[IPA_1_1][IPA_CLIENT_ODU_PROD]           = -1,
	[IPA_1_1][IPA_CLIENT_MHI_PROD]           = -1,
	[IPA_1_1][IPA_CLIENT_Q6_LAN_PROD]        =  5,
	[IPA_1_1][IPA_CLIENT_Q6_WAN_PROD]        = -1,
	[IPA_1_1][IPA_CLIENT_Q6_CMD_PROD]        = -1,

	[IPA_1_1][IPA_CLIENT_HSIC1_CONS]         = 14,
@@ -129,6 +130,7 @@ static const int ep_mapping[3][IPA_CLIENT_MAX] = {
	[IPA_2_0][IPA_CLIENT_ODU_PROD]           = 12,
	[IPA_2_0][IPA_CLIENT_MHI_PROD]           = 18,
	[IPA_2_0][IPA_CLIENT_Q6_LAN_PROD]        =  6,
	[IPA_2_0][IPA_CLIENT_Q6_WAN_PROD]	 = -1,
	[IPA_2_0][IPA_CLIENT_Q6_CMD_PROD]        =  7,
	[IPA_2_0][IPA_CLIENT_Q6_DECOMP_PROD]     = -1,
	[IPA_2_0][IPA_CLIENT_Q6_DECOMP2_PROD]    = -1,
@@ -202,6 +204,7 @@ static const int ep_mapping[3][IPA_CLIENT_MAX] = {
	[IPA_2_6L][IPA_CLIENT_ODU_PROD]           = -1,
	[IPA_2_6L][IPA_CLIENT_MHI_PROD]           = -1,
	[IPA_2_6L][IPA_CLIENT_Q6_LAN_PROD]        =  6,
	[IPA_2_6L][IPA_CLIENT_Q6_WAN_PROD]	  = -1,
	[IPA_2_6L][IPA_CLIENT_Q6_CMD_PROD]        =  7,
	[IPA_2_6L][IPA_CLIENT_Q6_DECOMP_PROD]     = 11,
	[IPA_2_6L][IPA_CLIENT_Q6_DECOMP2_PROD]    = 13,