]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: Don't allow paritial drain operations on capture streams
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 22 Jul 2019 09:24:35 +0000 (10:24 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Jul 2019 10:07:42 +0000 (12:07 +0200)
commite7b879e850e7d732db541d2382cbcaa4e4073602
treebb8c205c2e47b75e1d0f3bd9190c494a2393df86
parent3e181c178db78a533aefda9565a50272744e1680
ALSA: compress: Don't allow paritial drain operations on capture streams

Partial drain and next track are intended for gapless playback and
don't really have an obvious interpretation for a capture stream, so
makes sense to not allow those operations on 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>
sound/core/compress_offload.c