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:
Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
Loading
Please register or sign in to comment