Commit 3ee2d71a authored by Joonwoo Park's avatar Joonwoo Park Committed by Sridhar Gujje
Browse files

ASoC: wcd9xxx: Fix MBHC irq handler deadlock scenario.



There is a chance to encounter deadlock when either electrical mbhc irq
or mechanical mbhc irq releases resource lock to let polling thread finish
its job.  This is due to the possibility of one irq handler can preempt
already running the other type of irq handler.
Introduce a new mutex to avoid this preemption.

CRs-fixed: 428653
Change-Id: Idf24c62224026c9c061de12c31e248c05b47de9d
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>

Conflicts:

	drivers/mfd/wcd9xxx-irq.c

Signed-off-by: default avatarSridhar Gujje <sgujje@codeaurora.org>
parent 8b747bf4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment