]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: fix the states to check for allowing read
authorVinod Koul <vinod.koul@intel.com>
Mon, 29 Apr 2013 08:55:23 +0000 (14:25 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 29 Apr 2013 11:33:18 +0000 (13:33 +0200)
commit7d8997dd6759caa306059928ead71761669895de
tree3d948cec2f7b73756c4cbb548546db57f0a17b22
parent15254d54068ca784f0c6a6d04673562f282eafe6
ALSA: compress: fix the states to check for allowing read

for reading compressed data, we need to allow when we are paused, draining or
stopped.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Cc: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c