diff options
author | Yuqing Zhu <carol.zhu@nxp.com> | 2016-05-04 17:46:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-29 19:35:58 +0100 |
commit | 97753ee3ad6d4700d7c861eb85b0c828ed250c8c (patch) | |
tree | dc35a755c26fc0e6ac152f9ce08e15f8684c2196 /meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb | |
parent | fa602e6cc9495cdb31318ca3adb2bda0d472f7cf (diff) | |
download | poky-97753ee3ad6d4700d7c861eb85b0c828ed250c8c.tar.gz |
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)
(From OE-Core rev: 4ddef11c6a0f0a2d2ff0d4e556c0bbb3d5999f83)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb index a73da28828..296a7bb0ac 100644 --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb | |||
@@ -18,6 +18,7 @@ SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \ | |||
18 | file://Check-if-wordexp-function-is-supported.patch \ | 18 | file://Check-if-wordexp-function-is-supported.patch \ |
19 | file://avoid-including-sys-poll.h-directly.patch \ | 19 | file://avoid-including-sys-poll.h-directly.patch \ |
20 | file://0001-topology-Add-missing-include-sys-stat.h.patch \ | 20 | file://0001-topology-Add-missing-include-sys-stat.h.patch \ |
21 | file://0001-pcm_plugin-fix-appl-pointer-not-correct-when-mmap_co.patch \ | ||
21 | " | 22 | " |
22 | SRC_URI[md5sum] = "69515ca73c3c4a212ef45160dea846c1" | 23 | SRC_URI[md5sum] = "69515ca73c3c4a212ef45160dea846c1" |
23 | SRC_URI[sha256sum] = "dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15" | 24 | SRC_URI[sha256sum] = "dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15" |