diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2019-07-22 11:24:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-07-23 12:07:22 +0200 |
commit | 4475f8c4ab7b248991a60d9c02808dbb813d6be8 (patch) | |
tree | f8f5c775046810dc8e211453d10f8c3c0b42dbf4 /sound/soc/pxa/hx4700.c | |
parent | ALSA: line6: Fix a typo (diff) | |
download | linux-4475f8c4ab7b248991a60d9c02808dbb813d6be8.tar.xz linux-4475f8c4ab7b248991a60d9c02808dbb813d6be8.zip |
ALSA: compress: Fix regression on compressed capture streams
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>
Diffstat (limited to 'sound/soc/pxa/hx4700.c')
0 files changed, 0 insertions, 0 deletions