summaryrefslogtreecommitdiff
path: root/include/linux/kernelcapi.h
diff options
context:
space:
mode:
authorVeera Sundaram Sankaran <veeras@codeaurora.org>2015-10-14 14:50:50 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:46:41 -0700
commitab7127e737217afbd65dc5fe62c6727bcbeff125 (patch)
treeb05c23de0a5e23784feacb8a9a84e0d7df8b929a /include/linux/kernelcapi.h
parent75631a476bf9abf0076eb6acf5015fd8cd30b0d6 (diff)
msm: mdss: use spin_lock_irqsave while checking the intr status
Use spin_lock_irqsave instead of spin_lock for mdp_lock as the former would disable the interrupts before acquiring the lock and saves the previous interrupt state. The states are restored during spin_unlock_irqrestore. Using raw spin_lock would allow interrupts and that might lead to deadlock since the mdp_isr_handler also waits on the same mdp_lock. Change-Id: If34fe27055b704e9606f772b421662d140fa7ddf Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Diffstat (limited to 'include/linux/kernelcapi.h')
0 files changed, 0 insertions, 0 deletions