diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-18 20:26:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-29 09:18:19 +0100 |
commit | 0aec96f5897ac16ad9945f531b4bef9a2edd2ebd (patch) | |
tree | 66b110b2e5d53fbecc57e0b485011f314bd56c3a /sound/soc/samsung/odroid.c | |
parent | e79c22695abd3b75a6aecf4ea4b9607e8d82c49c (diff) | |
download | linux-0aec96f5897ac16ad9945f531b4bef9a2edd2ebd.tar.bz2 |
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 <baijiaju1990@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/5d43135e-73b9-a46a-2155-9e91d0dcdf83@gmail.com
Link: https://lore.kernel.org/r/20191218192606.12866-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/samsung/odroid.c')
0 files changed, 0 insertions, 0 deletions