Commit 6f1fe5a3 authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

ASoC: wcd9304: Resend edge triggered GPIO IRQ



If MBHC GPIO IRQ for mechanical headset detection asserted while power
management's suspend call chain is being called, wcd9xxx_lock_sleep will
fail to wait for system's resume since power management interface has
to finish suspend in order to resume system.
In this case, interrupt cannot be handled as codec driver cannot
guarantee if underlying bus is awake.
Wake up system and resend the IRQ for this situation.

Change-Id: I8fb58ee6c3eb310e63dfc2e31f4055488d552d45
CRs-Fixed: 458899
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent a1ab12ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment