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

Commit c0f32f98 authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa: fix ipa usb-endpoint register



Configure the hdr_metadata_reg_valid to true
in ipa-usb endpoint register and the DL packet
won't be dropped by IPA-HW

Change-Id: Ifa9289319f8ac58787f28490dbc689b3d681880f
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 75bb475d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2605,6 +2605,8 @@ int ipa_cfg_ep_metadata(u32 clnt_hdl, const struct ipa_ep_cfg_metadata *ep_md)
	ipa_inc_client_enable_clks();

	ipa_ctx->ctrl->ipa_cfg_ep_metadata(clnt_hdl, ep_md);
	ipa_ctx->ep[clnt_hdl].cfg.hdr.hdr_metadata_reg_valid = 1;
	ipa_ctx->ctrl->ipa_cfg_ep_hdr(clnt_hdl, &ipa_ctx->ep[clnt_hdl].cfg.hdr);

	ipa_dec_client_disable_clks();