aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-18 20:26:06 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-29 09:18:19 +0100
commit0aec96f5897ac16ad9945f531b4bef9a2edd2ebd (patch)
tree66b110b2e5d53fbecc57e0b485011f314bd56c3a /sound/pci/hda/patch_realtek.c
parentALSA: hda/realtek - Add Bass Speaker and fixed dac for bass speaker (diff)
downloadlinux-dev-0aec96f5897ac16ad9945f531b4bef9a2edd2ebd.tar.xz
linux-dev-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 <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/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions