Skip to content
Commit b65dc4f6 authored by Fuqian Huang's avatar Fuqian Huang Committed by Lee Jones
Browse files

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: default avatarFuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5cd690a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment