Commit e52976fc authored by kuogee hsieh's avatar kuogee hsieh Committed by Bryan Huntsman
Browse files

msm_fb: display: use mutex instead of spin lock to avoid deadlock



There has deadlock between mdp4_isr() and disable_irq() called by
LCDC thread. Disable_irq() will wait for mdp4_isr() to complete
before return. Meanwhile mdp4_isr() will try to acquire mdp_spin_lock
which had been acquired by lcdc thread before call disable_irq().
This patch replace spin lock with mutex to avoid deadlock from happening.

CRs-fixed: 301276
Signed-off-by: default avatarkuogee hsieh <khsieh@codeaurora.org>
parent 26f05567
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment