summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2017-05-27 00:53:04 +0200
committerJonathan Cameron <jic23@kernel.org>2017-05-28 16:45:46 +0200
commit95264c8c6a9040e84edda883dbbe9d193c41f46c (patch)
tree2b8d34342f67f0408c0775a49da54c9460e6be90 /drivers/ide
parentstaging: ccree: add CRYPTO dependency (diff)
downloadlinux-95264c8c6a9040e84edda883dbbe9d193c41f46c.tar.xz
linux-95264c8c6a9040e84edda883dbbe9d193c41f46c.zip
staging: iio: ad7152: Fix deadlock in ad7152_write_raw_samp_freq()
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: 6572389bcc11 ("staging: iio: cdc: ad7152: Implement IIO_CHAN_INFO_SAMP_FREQ attribute") Acked-by: Lars-Peter Clausen <lars@metafoo.de> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions