]> 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>
Wed, 29 Jun 2016 18:34:40 +0000 (19:34 +0100)
commit4ddef11c6a0f0a2d2ff0d4e556c0bbb3d5999f83
tree711b747282a7b9fdbc828f4d6b3e6a06fa414ca5
parent6510f9252fdfe21b9fe629a3d9a6a5f525316053
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.

(From OE-Core rev: fcd7e439497174256a5c467532aad402f4d19ca1)

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.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