]> 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)
commit74fea8a9a399ed44a43fbf4db5900c237f38018d
treebb8c205c2e47b75e1d0f3bd9190c494a2393df86
parentf84d768a7e4c452e02680bd2f4b9095d2af1fac3
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