linux_dsm_epyc7002/sound
Vinod Koul f79a732a83 ALSA: compress: fix partial_drain completion state
On partial_drain completion we should be in SNDRV_PCM_STATE_RUNNING
state, so set that for partially draining streams in
snd_compr_drain_notify() and use a flag for partially draining streams

While at it, add locks for stream state change in
snd_compr_drain_notify() as well.

Fixes: f44f2a5417 ("ALSA: compress: fix drain calls blocking other compress functions (v6)")
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20200629134737.105993-4-vkoul@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-07-07 11:52:18 +02:00
..
ac97
aoa
arm
atmel
core ALSA: compress: fix partial_drain completion state 2020-07-07 11:52:18 +02:00
drivers ALSA: opl3: fix infoleak in opl3 2020-07-07 10:10:49 +02:00
firewire Merge branch 'for-linus' into for-next 2020-05-28 10:08:50 +02:00
hda ASoC: Fixes for v5.8 2020-06-22 13:49:14 +02:00
i2c
isa ALSA: es1688: Add the missed snd_card_free() 2020-06-03 11:40:55 +02:00
mips
oss
parisc
pci ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC 2020-07-07 10:19:32 +02:00
pcmcia
ppc ALSA: sound/ppc: Use bitwise instead of arithmetic operator for flags 2020-05-07 09:06:11 +02:00
sh
soc ASoC: Fixes for v5.8 2020-06-30 19:49:38 +02:00
sparc
spi
synth
usb ALSA: usb-audio: Add implicit feedback quirk for RTX6001 2020-07-07 11:46:18 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c