Commit a44182a2 authored by Mayank Rana's avatar Mayank Rana Committed by Bryan Huntsman
Browse files

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: default avatarMayank Rana <mrana@codeaurora.org>
parent 5d49cec9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment