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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ad7150.c | ||
ad7152.c | ||
ad7746.c | ||
ad7746.h |