Loading drivers/platform/msm/ipa/ipa_v3/ipa.c +5 −1 Original line number Diff line number Diff line Loading @@ -4407,12 +4407,16 @@ static int ipa3_post_init(const struct ipa3_plat_drv_res *resource_p, /* * IPAv3.5 and above requires to disable prefetch for USB in order * to allow MBIM to work, currently MBIM is not needed in MHI mode. * to allow MBIM to work. */ if ((ipa3_ctx->ipa_hw_type >= IPA_HW_v3_5) && (!ipa3_ctx->ipa_config_is_mhi)) ipa3_disable_prefetch(IPA_CLIENT_USB_CONS); if ((ipa3_ctx->ipa_hw_type >= IPA_HW_v3_5) && (ipa3_ctx->ipa_config_is_mhi)) ipa3_disable_prefetch(IPA_CLIENT_MHI_CONS); if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { memset(&gsi_props, 0, sizeof(gsi_props)); gsi_props.ver = ipa3_get_gsi_ver(resource_p->ipa_hw_type); Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa.c +5 −1 Original line number Diff line number Diff line Loading @@ -4407,12 +4407,16 @@ static int ipa3_post_init(const struct ipa3_plat_drv_res *resource_p, /* * IPAv3.5 and above requires to disable prefetch for USB in order * to allow MBIM to work, currently MBIM is not needed in MHI mode. * to allow MBIM to work. */ if ((ipa3_ctx->ipa_hw_type >= IPA_HW_v3_5) && (!ipa3_ctx->ipa_config_is_mhi)) ipa3_disable_prefetch(IPA_CLIENT_USB_CONS); if ((ipa3_ctx->ipa_hw_type >= IPA_HW_v3_5) && (ipa3_ctx->ipa_config_is_mhi)) ipa3_disable_prefetch(IPA_CLIENT_MHI_CONS); if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { memset(&gsi_props, 0, sizeof(gsi_props)); gsi_props.ver = ipa3_get_gsi_ver(resource_p->ipa_hw_type); Loading