From 91c9a85bf56c15c4b8066e8b84cacf2c76f1915c Mon Sep 17 00:00:00 2001 From: Amir Levy Date: Sun, 2 Apr 2017 18:21:09 +0300 Subject: [PATCH] msm: ipa3: fix Q6 statuses exception path Set APPS_LAN_CONS pipe as the statuses exception pipe for all Q6 pipes instead setting this pipe as exception pipe only for pipe 0. Change-Id: Id00abb0ddabddd5c76a45e0878e327cba950176c CRs-Fixed: 2027835 Signed-off-by: Amir Levy --- drivers/platform/msm/ipa/ipa_v3/ipa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c index aa681d3eacaa..5b706b6f493b 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c @@ -2253,7 +2253,8 @@ static int ipa3_q6_set_ex_path_to_apps(void) reg_write.pipeline_clear_options = IPAHAL_HPS_CLEAR; reg_write.offset = - ipahal_get_reg_ofst(IPA_ENDP_STATUS_n); + ipahal_get_reg_n_ofst(IPA_ENDP_STATUS_n, + ep_idx); ipahal_get_status_ep_valmask( ipa3_get_ep_mapping(IPA_CLIENT_APPS_LAN_CONS), &valmask);