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

Commit 6843766f authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa4: fix PM register on USB



This changes creates a single PM resource for TETH.

CRs-fixed: 2182844
Change-Id: If38485948b3a02224d8d0989a933eb8bffb81a17
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 4875db87
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -747,8 +747,8 @@ static int ipa3_usb_register_pm(enum ipa3_usb_transport_type ttype)
		&ipa3_usb_ctx->ttype_ctx[ttype];
	int result;

	/* create PM resources for the first tethering protocol only */
	if (ipa3_usb_ctx->num_init_prot > 0)
	/* there is one PM resource for teth and one for DPL */
	if (!IPA3_USB_IS_TTYPE_DPL(ttype) && ipa3_usb_ctx->num_init_prot > 0)
		return 0;

	memset(&ttype_ctx->pm_ctx.reg_params, 0,