]> git.alsa-project.org Git - alsa-utils.git/commit
alsabat: fix alsabat -86 error
authorKeqiao, Zhang <keqiao.zhang@intel.com>
Fri, 26 Aug 2016 15:37:54 +0000 (23:37 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Aug 2016 05:49:37 +0000 (07:49 +0200)
commitcadd877da6ebc8d26c8ec7f2717835e69525652f
tree7f30fb44f62758ba8c7271cc1a216a080536cfe5
parent18a1ed8f891903412a73ace298798ab1a7931681
alsabat: fix alsabat -86 error

alsabat reports -86 error when system suspend and resume. Check the
return value of read_to_pcm() and write_to_pcm(), when -x8 err is
detected, do resume and wait for read/write to pcm to complete.

Write PCM device error: Streams pipe error(-86)
Read PCM device error: Streams pipe error(-86)
*** Error in alsabat: double free or corruption (out): 0x00007fb438001810 ***

Signed-off-by: Keqiao, Zhang <keqiao.zhang@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
bat/alsa.c