ALSA: compress: allow writes in SNDRV_PCM_STATE_PREPARED state
authorEric Laurent <elaurent@google.com>
Wed, 2 Mar 2016 17:54:57 +0000 (09:54 -0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Mar 2016 13:50:46 +0000 (14:50 +0100)
commit35383a24129a47a0b8365ed17d3dcd2f75175929
treeee79e3d0987a602bfedf0d6e47be1dc469a0f29f
parent59e4282717cb2adbfd12314ff484669a85827412
ALSA: compress: allow writes in SNDRV_PCM_STATE_PREPARED state

Allow writes in SNDRV_PCM_STATE_PREPARED state so that more
than one buffer fragment can be written from user space
before calling SNDRV_COMPRESS_START.

Signed-off-by: Eric Laurent <elaurent@google.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c