android_kernel_oneplus_msm8998/include
Charles Keepax 4e07b0fe0d ALSA: compress: Fix regression on compressed capture streams
[ Upstream commit 4475f8c4ab7b248991a60d9c02808dbb813d6be8 ]

A previous fix to the stop handling on compressed capture streams causes
some knock on issues. The previous fix updated snd_compr_drain_notify to
set the state back to PREPARED for capture streams. This causes some
issues however as the handling for snd_compr_poll differs between the
two states and some user-space applications were relying on the poll
failing after the stream had been stopped.

To correct this regression whilst still fixing the original problem the
patch was addressing, update the capture handling to skip the PREPARED
state rather than skipping the SETUP state as it has done until now.

Fixes: 4f2ab5e1d13d ("ALSA: compress: Fix stop handling on compressed capture streams")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-25 10:52:48 +02:00
..
acpi
asm-generic bug.h: work around GCC PR82365 in BUG() 2019-07-10 09:56:42 +02:00
clocksource
crypto
drm
dt-bindings
keys KEYS: user: Align the payload buffer 2019-03-23 08:44:17 +01:00
kvm
linux compat_ioctl: pppoe: fix PPPOEIOCSFWD handling 2019-08-11 12:20:46 +02:00
math-emu
media
memory
misc
net tcp: be more careful in tcp_fragment() 2019-08-11 12:20:43 +02:00
pcmcia
ras
rdma
rxrpc
scsi
soc
sound ALSA: compress: Fix regression on compressed capture streams 2019-08-25 10:52:48 +02:00
target
trace
uapi uapi linux/coda_psdev.h: move upc_req definition from uapi to kernel side headers 2019-08-06 18:28:28 +02:00
video
xen
Kbuild