mirror of https://gitee.com/openkylin/linux.git
95264c8c6a
ad7152_write_raw_samp_freq() is called by ad7152_write_raw() with
chip->state_lock held. So, there is unavoidable deadlock when
ad7152_write_raw_samp_freq() locks the mutex itself.
The patch removes unneeded locking.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes:
|
||
---|---|---|
.. | ||
Documentation | ||
accel | ||
adc | ||
addac | ||
cdc | ||
frequency | ||
gyro | ||
impedance-analyzer | ||
light | ||
meter | ||
resolver | ||
trigger | ||
Kconfig | ||
Makefile | ||
TODO |