]> 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)
commit6fd4c4a6b8e9952ffea0c44b10b01196de8b99f9
tree3d948cec2f7b73756c4cbb548546db57f0a17b22
parent237e6c08dbef1e610c0a77cd75438f2ce6cff75c
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