commit | e52976fc8742c1734c3fda80735d0dfd21c61826 | [log] [tgz] |
---|---|---|
author | kuogee hsieh <khsieh@codeaurora.org> | Fri Aug 12 15:32:52 2011 -0700 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:15:28 2011 -0700 |
tree | b0b433e320339a40f65e27d2c208b3c9dc682b31 | |
parent | 26f0556795a7018dbb794e4901b12949b4f2e66e [diff] |
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: kuogee hsieh <khsieh@codeaurora.org>