linux/drivers/staging
Alexey Khoroshilov 95264c8c6a 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: 6572389bcc ("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>
2017-05-28 15:45:46 +01:00
..
android staging/android/ion: remove useless document file 2017-05-15 11:17:31 +02:00
board
ccree staging: ccree: add CRYPTO dependency 2017-05-25 14:44:25 +02:00
clocking-wizard
comedi
dgnc
emxx_udc
fbtft staging: fbtft: fix open parentheses alignment 2017-04-28 12:07:25 +02:00
fsl-dpaa2 staging: fsl-dpaa2/eth: add ETHERNET dependency 2017-05-16 14:23:31 +02:00
fsl-mc staging: fsl-mc/dpio: add cpu <--> LE conversion for dpaa2_fd 2017-04-28 17:51:54 +02:00
fwserial
gdm724x staging: gdm724x: gdm_mux: fix use-after-free on module unload 2017-04-28 12:32:49 +02:00
goldfish
greybus
gs_fpgaboot
iio staging: iio: ad7152: Fix deadlock in ad7152_write_raw_samp_freq() 2017-05-28 15:45:46 +01:00
ks7010 staging: ks7010: remove line continuations in quoted strings 2017-04-28 17:51:39 +02:00
lustre Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2017-05-10 10:30:46 -07:00
media drivers/staging/media/atomisp/pci/atomisp2: use set_memory.h 2017-05-08 17:15:14 -07:00
most format-security: move static strings to const 2017-05-08 17:15:14 -07:00
mt29f_spinand
netlogic
nvec
octeon
octeon-usb
olpc_dcon staging: olpc_dcon: style fixes 2017-04-28 12:07:24 +02:00
rtl8188eu staging: rtl8188eu: embedded function name style fixes 2017-04-28 12:30:21 +02:00
rtl8192e staging: rtl8192e: GetTs Fix invalid TID 7 warning. 2017-05-15 11:48:45 +02:00
rtl8192u staging: rtl8192u: fix spelling mistake in variable name *attentuation 2017-04-28 12:27:50 +02:00
rtl8712
rtl8723bs staging: rtl8723bs: remove re-positioned call to kfree in os_dep/ioctl_cfg80211.c 2017-05-15 12:25:12 +02:00
rts5208
skein
sm750fb
speakup Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00
typec staging: typec: fusb302: refactor resume retry mechanism 2017-05-16 14:23:31 +02:00
unisys staging: unisys: visorhba: fix s-Par to boot with option CONFIG_VMAP_STACK set to y 2017-04-28 11:55:53 +02:00
vc04_services staging: vc04_services: Fix bulk cache maintenance 2017-05-15 11:48:44 +02:00
vme Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00
vt6655
vt6656 staging: vt6656: use tabs instead of spaces 2017-04-28 14:30:43 +02:00
wilc1000 Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00
wlan-ng Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00
xgifb
Kconfig Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00
Makefile Staging/IIO patches for 4.12-rc1 2017-05-05 18:16:23 -07:00