diff options
author | JongHo Kim <furmuwon@gmail.com> | 2013-12-17 23:02:24 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-12-17 16:56:11 +0100 |
commit | ed697e1aaf7237b1a62af39f64463b05c262808d (patch) | |
tree | 68c3d83f65c8820a7322ab2b03ad3ea3146dfeeb /sound/core/sgbuf.c | |
parent | afdcd431cebe3498db9aa963c780fdd5099917ec (diff) | |
download | linux-ed697e1aaf7237b1a62af39f64463b05c262808d.tar.gz linux-ed697e1aaf7237b1a62af39f64463b05c262808d.tar.bz2 linux-ed697e1aaf7237b1a62af39f64463b05c262808d.zip |
ALSA: Add SNDRV_PCM_STATE_PAUSED case in wait_for_avail function
When the process is sleeping at the SNDRV_PCM_STATE_PAUSED
state from the wait_for_avail function, the sleep process will be woken by
timeout(10 seconds). Even if the sleep process wake up by timeout, by this
patch, the process will continue with sleep and wait for the other state.
Signed-off-by: JongHo Kim <furmuwon@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/sgbuf.c')
0 files changed, 0 insertions, 0 deletions