android_kernel_samsung_a7y1.../sound
Takashi Iwai b5985f6f46 ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code
commit 0aec96f5897ac16ad9945f531b4bef9a2edd2ebd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:24:36 +02:00
..
aoa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmel A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
core ALSA: pcm: Avoid possible info leaks from PCM stream buffers 2020-04-07 13:22:05 +02:00
drivers ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration 2020-04-06 15:17:05 +02:00
firewire ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback 2020-04-07 12:34:13 +02:00
hda Revert "ALSA: hda: Flush interrupts on disabling" 2020-04-07 09:28:46 +02:00
i2c ALSA: i2c/cs8427: Fix int to char conversion 2020-04-07 12:35:00 +02:00
isa ALSA: sb8: add a check for request_region 2020-04-06 15:16:58 +02:00
mips A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
oss A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
parisc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci ALSA: ice1724: Fix sleep-in-atomic in Infrasonic Quartet support code 2020-04-07 13:24:36 +02:00
pcmcia A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ppc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc ASoC: rt5677: Mark reg RT5677_PWR_ANLG2 as volatile 2020-04-07 13:21:32 +02:00
sparc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
synth A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usb ALSA: usb-audio: not submit urb for stopped endpoint 2020-04-07 12:23:34 +02:00
ac97_bus.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
last.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sound_core.c sound: fix a memory leak bug 2020-04-06 20:38:13 +02:00
sound_firmware.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30