diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2025-12-26 11:53:26 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-26 11:53:26 -0300 |
| commit | 513970e1207c6d7a4058a3e91d44f441c3306c51 (patch) | |
| tree | 9e9c37f8ff80784de1f632229e013cd92d69f2ba | |
| parent | 2781242e499e601ef9454009aceed16186a48d9e (diff) | |
| parent | 6ecb175587edefa522cfdf5a03bf65ab62a188e1 (diff) | |
| download | meta-freescale-513970e1207c6d7a4058a3e91d44f441c3306c51.tar.gz | |
Merge pull request #2426 from MaxKrummenacher/master
alsa-lib.bbappend: Follow OE-Core update to v1.2.15
6 files changed, 14 insertions, 56 deletions
diff --git a/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch b/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch index 7ae8b8fef..12c2986fd 100644 --- a/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch +++ b/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 3fa81ebaf8bac6b167776888ae26c6c140d8aebc Mon Sep 17 00:00:00 2001 | 1 | From c9b12504edea5280b41645da703ac478c1341dcf Mon Sep 17 00:00:00 2001 |
| 2 | From: Shengjiu Wang <b02247@freescale.com> | 2 | From: Shengjiu Wang <b02247@freescale.com> |
| 3 | Date: Thu, 5 Jun 2014 17:37:47 +0800 | 3 | Date: Thu, 5 Jun 2014 17:37:47 +0800 |
| 4 | Subject: [PATCH] add conf for multichannel support in imx | 4 | Subject: [PATCH] add conf for multichannel support in imx |
| @@ -202,13 +202,13 @@ index f387cf4197da..cbd2cd04227d 100644 | |||
| 202 | ATIIXP.conf \ | 202 | ATIIXP.conf \ |
| 203 | ATIIXP-SPDMA.conf \ | 203 | ATIIXP-SPDMA.conf \ |
| 204 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 204 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
| 205 | index a54824ae636b..0aa874d7434f 100644 | 205 | index e2d59aa770dc..e05c372a0cf7 100644 |
| 206 | --- a/src/conf/cards/aliases.conf | 206 | --- a/src/conf/cards/aliases.conf |
| 207 | +++ b/src/conf/cards/aliases.conf | 207 | +++ b/src/conf/cards/aliases.conf |
| 208 | @@ -57,6 +57,8 @@ CMI8786 cards.CMI8788 | 208 | @@ -58,6 +58,8 @@ CMI8787 cards.CMI8788 |
| 209 | CMI8787 cards.CMI8788 | ||
| 210 | pistachio cards.pistachio-card | 209 | pistachio cards.pistachio-card |
| 211 | VC4-HDMI cards.vc4-hdmi | 210 | VC4-HDMI cards.vc4-hdmi |
| 211 | hda-acpi cards.HDA-Intel | ||
| 212 | +imx-cs42888 cards.CS42888 | 212 | +imx-cs42888 cards.CS42888 |
| 213 | +imx-hdmi-soc cards.IMX-HDMI | 213 | +imx-hdmi-soc cards.IMX-HDMI |
| 214 | 214 | ||
diff --git a/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch b/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch deleted file mode 100644 index 193d507eb..000000000 --- a/recipes-multimedia/alsa/alsa-lib/0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | From 3950e1ae36ca53a67b7248137e6033e7e99f79a3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jaroslav Kysela <perex@perex.cz> | ||
| 3 | Date: Wed, 9 Nov 2022 08:11:42 +0100 | ||
| 4 | Subject: [PATCH] pcm: rate - fix the crash in | ||
| 5 | |||
| 6 | Upstream-Status: Backport | ||
| 7 | |||
| 8 | snd_pcm_rate_may_wait_for_avail_min() | ||
| 9 | |||
| 10 | The pcm argument passed to the conversion function in | ||
| 11 | snd_pcm_plugin_may_wait_for_avail_min_conv() should be | ||
| 12 | pcm->fast_op_arg. | ||
| 13 | |||
| 14 | Test command: arecord -Dplughw:x -r12000 -c2 -fS16_LE -M temp.wav | ||
| 15 | |||
| 16 | Fixes: d9dbb57b ("pcm: rate - rewrite the may_wait_for_avail_min callback for the rate plugin") | ||
| 17 | |||
| 18 | BugLink: https://lore.kernel.org/alsa-devel/1667793912-18957-1-git-send-email-shengjiu.wang@nxp.com/ | ||
| 19 | Fixes: https://github.com/alsa-project/alsa-lib/issues/282 | ||
| 20 | Reported-by: Shengjiu Wang <shengjiu.wang@nxp.com> | ||
| 21 | Signed-off-by: Jaroslav Kysela <perex@perex.cz> | ||
| 22 | --- | ||
| 23 | src/pcm/pcm_plugin.c | 2 +- | ||
| 24 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 25 | |||
| 26 | diff --git a/src/pcm/pcm_plugin.c b/src/pcm/pcm_plugin.c | ||
| 27 | index 9d7e233e8437..d58789eca73b 100644 | ||
| 28 | --- a/src/pcm/pcm_plugin.c | ||
| 29 | +++ b/src/pcm/pcm_plugin.c | ||
| 30 | @@ -626,7 +626,7 @@ int snd_pcm_plugin_may_wait_for_avail_min_conv( | ||
| 31 | * This code is also used by extplug, but extplug does not allow to alter the sampling rate. | ||
| 32 | */ | ||
| 33 | if (conv) | ||
| 34 | - needed_slave_avail_min = conv(pcm, needed_slave_avail_min); | ||
| 35 | + needed_slave_avail_min = conv(pcm->fast_op_arg, needed_slave_avail_min); | ||
| 36 | |||
| 37 | if (slave->avail_min != needed_slave_avail_min) { | ||
| 38 | snd_pcm_sw_params_t *swparams; | ||
| 39 | -- | ||
| 40 | 2.42.0 | ||
| 41 | |||
diff --git a/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch b/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch index 51e199821..6cb92ccc7 100644 --- a/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch +++ b/recipes-multimedia/alsa/alsa-lib/0005-add-ak4458-conf-for-multichannel-support.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 92d2b7d91bc1ec4068ee9371753bb24ad1108827 Mon Sep 17 00:00:00 2001 | 1 | From b582b2f3054fc402604b068d470c4eeb19b06e13 Mon Sep 17 00:00:00 2001 |
| 2 | From: Shengjiu Wang <shengjiu.wang@nxp.com> | 2 | From: Shengjiu Wang <shengjiu.wang@nxp.com> |
| 3 | Date: Wed, 31 Jan 2018 15:06:53 +0800 | 3 | Date: Wed, 31 Jan 2018 15:06:53 +0800 |
| 4 | Subject: [PATCH] add ak4458 conf for multichannel support | 4 | Subject: [PATCH] add ak4458 conf for multichannel support |
| @@ -112,11 +112,11 @@ index cbd2cd04227d..3c29bd65d341 100644 | |||
| 112 | ATIIXP.conf \ | 112 | ATIIXP.conf \ |
| 113 | ATIIXP-SPDMA.conf \ | 113 | ATIIXP-SPDMA.conf \ |
| 114 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 114 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
| 115 | index 0aa874d7434f..dda71d99916e 100644 | 115 | index e05c372a0cf7..bbbf226a95a7 100644 |
| 116 | --- a/src/conf/cards/aliases.conf | 116 | --- a/src/conf/cards/aliases.conf |
| 117 | +++ b/src/conf/cards/aliases.conf | 117 | +++ b/src/conf/cards/aliases.conf |
| 118 | @@ -59,6 +59,7 @@ pistachio cards.pistachio-card | 118 | @@ -60,6 +60,7 @@ VC4-HDMI cards.vc4-hdmi |
| 119 | VC4-HDMI cards.vc4-hdmi | 119 | hda-acpi cards.HDA-Intel |
| 120 | imx-cs42888 cards.CS42888 | 120 | imx-cs42888 cards.CS42888 |
| 121 | imx-hdmi-soc cards.IMX-HDMI | 121 | imx-hdmi-soc cards.IMX-HDMI |
| 122 | +ak4458-audio cards.AK4458 | 122 | +ak4458-audio cards.AK4458 |
diff --git a/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch b/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch index db76eb749..97e7002b4 100644 --- a/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch +++ b/recipes-multimedia/alsa/alsa-lib/0006-add-conf-for-iMX-XCVR-sound-card.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From faa9791070520f8d5e7060e5668efd1302c86c66 Mon Sep 17 00:00:00 2001 | 1 | From e6934385a773a8f6d713984716adbba5af0ead03 Mon Sep 17 00:00:00 2001 |
| 2 | From: Viorel Suman <viorel.suman@nxp.com> | 2 | From: Viorel Suman <viorel.suman@nxp.com> |
| 3 | Date: Mon, 9 Mar 2020 14:25:46 +0200 | 3 | Date: Mon, 9 Mar 2020 14:25:46 +0200 |
| 4 | Subject: [PATCH] add conf for iMX XCVR sound card | 4 | Subject: [PATCH] add conf for iMX XCVR sound card |
| @@ -71,10 +71,10 @@ index 3c29bd65d341..4502919e3bec 100644 | |||
| 71 | ATIIXP.conf \ | 71 | ATIIXP.conf \ |
| 72 | ATIIXP-SPDMA.conf \ | 72 | ATIIXP-SPDMA.conf \ |
| 73 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 73 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
| 74 | index dda71d99916e..6dab14855f25 100644 | 74 | index bbbf226a95a7..e6dd2cf69a9c 100644 |
| 75 | --- a/src/conf/cards/aliases.conf | 75 | --- a/src/conf/cards/aliases.conf |
| 76 | +++ b/src/conf/cards/aliases.conf | 76 | +++ b/src/conf/cards/aliases.conf |
| 77 | @@ -60,6 +60,7 @@ VC4-HDMI cards.vc4-hdmi | 77 | @@ -61,6 +61,7 @@ hda-acpi cards.HDA-Intel |
| 78 | imx-cs42888 cards.CS42888 | 78 | imx-cs42888 cards.CS42888 |
| 79 | imx-hdmi-soc cards.IMX-HDMI | 79 | imx-hdmi-soc cards.IMX-HDMI |
| 80 | ak4458-audio cards.AK4458 | 80 | ak4458-audio cards.AK4458 |
diff --git a/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch index fa71078e4..4268f2398 100644 --- a/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch +++ b/recipes-multimedia/alsa/alsa-lib/0007-add-conf-for-imx-cs42448-sound-card.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 38d84440a7bec9e26380f08f050b2ada772b822e Mon Sep 17 00:00:00 2001 | 1 | From 38bbc66434e1cbf71197bfbd5a3bf06efbfaa319 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chancel Liu <chancel.liu@nxp.com> | 2 | From: Chancel Liu <chancel.liu@nxp.com> |
| 3 | Date: Fri, 29 Jul 2022 16:12:37 +0800 | 3 | Date: Fri, 29 Jul 2022 16:12:37 +0800 |
| 4 | Subject: [PATCH] add conf for imx-cs42448 sound card | 4 | Subject: [PATCH] add conf for imx-cs42448 sound card |
| @@ -93,10 +93,10 @@ index 4502919e3bec..da2def3a9498 100644 | |||
| 93 | ATIIXP.conf \ | 93 | ATIIXP.conf \ |
| 94 | ATIIXP-SPDMA.conf \ | 94 | ATIIXP-SPDMA.conf \ |
| 95 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | 95 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf |
| 96 | index 6dab14855f25..554db846f8e5 100644 | 96 | index e6dd2cf69a9c..a97ed9c289c6 100644 |
| 97 | --- a/src/conf/cards/aliases.conf | 97 | --- a/src/conf/cards/aliases.conf |
| 98 | +++ b/src/conf/cards/aliases.conf | 98 | +++ b/src/conf/cards/aliases.conf |
| 99 | @@ -61,6 +61,7 @@ imx-cs42888 cards.CS42888 | 99 | @@ -62,6 +62,7 @@ imx-cs42888 cards.CS42888 |
| 100 | imx-hdmi-soc cards.IMX-HDMI | 100 | imx-hdmi-soc cards.IMX-HDMI |
| 101 | ak4458-audio cards.AK4458 | 101 | ak4458-audio cards.AK4458 |
| 102 | imx-audio-xcvr cards.IMX-XCVR | 102 | imx-audio-xcvr cards.IMX-XCVR |
diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend index 230cf0957..a8935ed51 100644 --- a/recipes-multimedia/alsa/alsa-lib_%.bbappend +++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend | |||
| @@ -5,7 +5,6 @@ IMX_PATCH = " \ | |||
| 5 | file://0005-add-ak4458-conf-for-multichannel-support.patch \ | 5 | file://0005-add-ak4458-conf-for-multichannel-support.patch \ |
| 6 | file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ | 6 | file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ |
| 7 | file://0007-add-conf-for-imx-cs42448-sound-card.patch \ | 7 | file://0007-add-conf-for-imx-cs42448-sound-card.patch \ |
| 8 | file://0001-pcm-rate-fix-the-crash-in-snd_pcm_rate_may_wait_for_.patch \ | ||
| 9 | " | 8 | " |
| 10 | SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" | 9 | SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" |
| 11 | 10 | ||
