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

Commit 91d5cde7 authored by Yeleswarapu Nagaradhesh's avatar Yeleswarapu Nagaradhesh
Browse files

ASoC: wcd: add IRQF_NO_SUSPEND flag



If headset is inserted during suspend process,
pm will try to dispatch all the pending interrupts
before going to complete suspend. IRQ driver
waits for resume to get called which can lead to
a deadlock. So while registering for insertion/removal
interrupts add IRQF_NO_SUSPEND flag to avoid race condition
which can lead to deadlock.

CRs-Fixed: 787873
Change-Id: I140652b9200a29da2d35260f186806f1b65e0f36
Signed-off-by: default avatarYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
parent 975e2eb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment