Merge "msm: ipa3: Enabling the HOLB on USB consumer pipe for APQ target"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
087fa1d80e
@@ -68,11 +68,18 @@ int ipa3_enable_data_path(u32 clnt_hdl)
|
|||||||
if ((ep->client == IPA_CLIENT_USB_DPL_CONS) ||
|
if ((ep->client == IPA_CLIENT_USB_DPL_CONS) ||
|
||||||
(ep->client == IPA_CLIENT_TPUT_CONS) ||
|
(ep->client == IPA_CLIENT_TPUT_CONS) ||
|
||||||
(ep->client == IPA_CLIENT_MHI_DPL_CONS) ||
|
(ep->client == IPA_CLIENT_MHI_DPL_CONS) ||
|
||||||
(ep->client == IPA_CLIENT_MHI_QDSS_CONS))
|
(ep->client == IPA_CLIENT_MHI_QDSS_CONS)) {
|
||||||
holb_cfg.en = IPA_HOLB_TMR_EN;
|
holb_cfg.en = IPA_HOLB_TMR_EN;
|
||||||
else
|
holb_cfg.tmr_val = 0;
|
||||||
|
} else if (ipa3_ctx->ipa_hw_type >= IPA_HW_v5_1 &&
|
||||||
|
ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ &&
|
||||||
|
ep->client == IPA_CLIENT_USB_CONS) {
|
||||||
|
holb_cfg.en = IPA_HOLB_TMR_EN;
|
||||||
|
holb_cfg.tmr_val = IPA_HOLB_TMR_VAL_4_5;
|
||||||
|
} else {
|
||||||
holb_cfg.en = IPA_HOLB_TMR_DIS;
|
holb_cfg.en = IPA_HOLB_TMR_DIS;
|
||||||
holb_cfg.tmr_val = 0;
|
holb_cfg.tmr_val = 0;
|
||||||
|
}
|
||||||
res = ipa3_cfg_ep_holb(clnt_hdl, &holb_cfg);
|
res = ipa3_cfg_ep_holb(clnt_hdl, &holb_cfg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user