summaryrefslogtreecommitdiff
path: root/drivers/mfd/aat2870-core.c
diff options
context:
space:
mode:
authorFuqian Huang <huangfq.daxian@gmail.com>2019-08-13 13:31:33 +0300
committerLee Jones <lee.jones@linaro.org>2019-09-02 13:05:37 +0300
commitb65dc4f6b339ff57321fd95f2f7b6197a3c24ba4 (patch)
treef5d0f9071ba68f4cf6524a95b5af9d6e2badc7a6 /drivers/mfd/aat2870-core.c
parent5cd690a308e86bcb10b8a0d6d42f153e82f695f6 (diff)
downloadlinux-b65dc4f6b339ff57321fd95f2f7b6197a3c24ba4.tar.xz
mfd: ezx-pcap: Replace mutex_lock with spin_lock
As mutex_lock might sleep. Function pcap_adc_irq is an interrupt handler. The use of mutex_lock in pcap_adc_irq may cause sleep in IRQ context. Replace mutex_lock with spin_lock to avoid this. Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/aat2870-core.c')
0 files changed, 0 insertions, 0 deletions