msm: bam_dmux: configure bam irq as wakeup source
Use the SPS_BAM_OPT_IRQ_WAKEUP option to configure the A2 bam irq line
as a wakeup source in suspend.
CRs-Fixed: 318944
Change-Id: I266f9a0192b7a818f4bea5d052e99a576503618e
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
diff --git a/arch/arm/mach-msm/bam_dmux.c b/arch/arm/mach-msm/bam_dmux.c
index cb0406f..80f5803 100644
--- a/arch/arm/mach-msm/bam_dmux.c
+++ b/arch/arm/mach-msm/bam_dmux.c
@@ -1029,6 +1029,7 @@
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;
a2_props.num_pipes = A2_NUM_PIPES;
a2_props.summing_threshold = A2_SUMMING_THRESHOLD;
/* need to free on tear down */