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

Commit c0dc227a authored by Skylar Chang's avatar Skylar Chang Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa4: register only apps cons with PM



Register only APPS pipes with IPA PM instead of all system pipes.
Other pipes have their clients to register to IPA PM.

Change-Id: Iffcf21d04fbf6272ee6baf88644f70d1d49253b3
CRs-Fixed: 2202001
Acked-by: default avatarAdy Abraham <adya@qti.qualcomm.com>
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent b2bdf7dc
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -944,12 +944,14 @@ int ipa3_setup_sys_pipe(struct ipa_sys_connect_params *sys_in, u32 *clnt_hdl)
				goto fail_pm;
			}

			if (IPA_CLIENT_IS_APPS_CONS(sys_in->client)) {
				result = ipa_pm_associate_ipa_cons_to_client(
					ep->sys->pm_hdl, sys_in->client);
				if (result) {
				IPAERR("failed to associate IPA PM client\n");
					IPAERR("failed to associate\n");
					goto fail_gen2;
				}
			}

			result = ipa_pm_set_perf_profile(ep->sys->pm_hdl,
				IPA_APPS_BW_FOR_PM);