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)
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>

No differences found