]> code.ossystems Code Review - openembedded-core.git/commit
alsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.
authorYuqing Zhu <carol.zhu@nxp.com>
Wed, 4 May 2016 09:46:46 +0000 (17:46 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 May 2016 07:03:56 +0000 (08:03 +0100)
commitfcd7e439497174256a5c467532aad402f4d19ca1
treef08b5a8233e8dc0175bbfb75f64ec8e192365456
parent9d3d76a43d27c95aac8d7a840c9c38c686b166ec
alsa-lib: Fix incorrect appl pointer when mmap_commit() returns error.

The appl pointer needs to be updated only when snd_pcm_mmap_commit() is
successfully returned. Or it shouldn't be updated.
This is to fix the avail_update()'s result is incorrect when returns error.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-multimedia/alsa/alsa-lib/0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch [new file with mode: 0755]
meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb