commit | a44182a20ce72b37adab6ad63657ba6b2fc307d6 | [log] [tgz] |
---|---|---|
author | Mayank Rana <mrana@codeaurora.org> | Tue Sep 20 15:49:47 2011 +0530 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Tue Oct 04 17:13:38 2011 -0700 |
tree | 77ddca967ee73acd76b569cc459c9ee615cec828 | |
parent | 5d49cec96a75412a1a314bea5e215997e5cbb64a [diff] |
msm_serial: Use spin_lock_irqsave() and spin_lock_irqrestore() apis Currently spin_lock() and spin_unlock() apis are used while handling interrupts for synchronization which may create deadlock or schedule out current interrupt processing part if any other interrupt comes on the same cpu. Hence use spin_lock_irqsave() and spin_lock_irqrestore() apis to make driver smp-safe. Signed-off-by: Mayank Rana <mrana@codeaurora.org>