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

Commit 106b98be authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: bam_dmux: Add SPS_BAM_OPT_IRQ_NO_SUSPEND Flag



SPS driver IRQ handler is missed when APPS is entering into suspend
state and cause the DATA loss issue.

Add SPS_BAM_OPT_IRQ_NO_SUSPEND to notify the SPS driver to register
the interrupt with NO_SUSPEND flag to fix IRQ miss issue.

CRs-Fixed: 2210893
Change-Id: I9dd241f07ca207a321f99a006dda74e7133d33cb
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent 44f974ba
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
/* Copyright (c) 2011-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2016, 2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -2305,7 +2305,9 @@ static int bam_init(void)
	a2_props.virt_addr = a2_virt_addr;
	a2_props.virt_size = a2_phys_size;
	a2_props.irq = a2_bam_irq;
	a2_props.options = SPS_BAM_OPT_IRQ_WAKEUP | SPS_BAM_HOLD_MEM;
	a2_props.options = SPS_BAM_OPT_IRQ_WAKEUP
				| SPS_BAM_HOLD_MEM
				| SPS_BAM_OPT_IRQ_NO_SUSPEND;
	a2_props.num_pipes = A2_NUM_PIPES;
	a2_props.summing_threshold = A2_SUMMING_THRESHOLD;
	a2_props.constrained_logging = true;