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

Commit e142e50c authored by Ravi Gummadidala's avatar Ravi Gummadidala
Browse files

msm: ipa: enable APPS wakeup due to IPA-BAM->A7 interrupt



This is needed to wake APPS and service this interrupt in a
timely manner

Change-Id: I7b976e43b5d43429981c4a7899d56e09902c724c
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent e92aa60f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2609,7 +2609,8 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p,
	bam_props.num_pipes = IPA_NUM_PIPES;
	bam_props.summing_threshold = IPA_SUMMING_THRESHOLD;
	bam_props.event_threshold = IPA_EVENT_THRESHOLD;
	bam_props.options |= SPS_BAM_NO_LOCAL_CLK_GATING;
	bam_props.options |= (SPS_BAM_NO_LOCAL_CLK_GATING |
		SPS_BAM_OPT_IRQ_WAKEUP);
	bam_props.ee = resource_p->ee;

	result = sps_register_bam_device(&bam_props, &ipa_ctx->bam_handle);