aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2019-12-18 19:26:06 +0000
committerTakashi Iwai <[email protected]>2019-12-29 08:18:19 +0000
commit0aec96f5897ac16ad9945f531b4bef9a2edd2ebd (patch)
tree66b110b2e5d53fbecc57e0b485011f314bd56c3a /drivers/iio/trigger/stm32-timer-trigger.c
parentALSA: hda/realtek - Add Bass Speaker and fixed dac for bass speaker (diff)
downloadkernel-0aec96f5897ac16ad9945f531b4bef9a2edd2ebd.tar.gz
kernel-0aec96f5897ac16ad9945f531b4bef9a2edd2ebd.zip
ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code
Jia-Ju Bai reported a possible sleep-in-atomic scenario in the ice1724 driver with Infrasonic Quartet support code: namely, ice->set_rate callback gets called inside ice->reg_lock spinlock, while the callback in quartet.c holds ice->gpio_mutex. This patch fixes the invalid call: it simply moves the calls of ice->set_rate and ice->set_mclk callbacks outside the spinlock. Reported-by: Jia-Ju Bai <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions