summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-02-06 16:42:05 +0100
committerThorsten Leemhuis <fedora@leemhuis.info>2020-02-06 16:42:05 +0100
commit69740b441ab20e490298d5b473a772238b2a64e2 (patch)
tree87948e7d7ef1e8c0668187220029fca9679a9092
parent2cd79b089b975e236821c1a6091d4ece23c5bff0 (diff)
parent379565782fa7b5c01cdfedec1996c953c8a46ccd (diff)
downloadkernel-69740b441ab20e490298d5b473a772238b2a64e2.tar.gz
kernel-69740b441ab20e490298d5b473a772238b2a64e2.tar.xz
kernel-69740b441ab20e490298d5b473a772238b2a64e2.zip
Merge remote-tracking branch 'origin/f30' into f30-user-thl-vanilla-fedora
-rw-r--r--ASoC-topology-fix-soc_tplg_fe_link_create-link-dobj-.patch60
-rw-r--r--kernel.spec6
2 files changed, 3 insertions, 63 deletions
diff --git a/ASoC-topology-fix-soc_tplg_fe_link_create-link-dobj-.patch b/ASoC-topology-fix-soc_tplg_fe_link_create-link-dobj-.patch
deleted file mode 100644
index f86069ab9..000000000
--- a/ASoC-topology-fix-soc_tplg_fe_link_create-link-dobj-.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 29bc8978342b2d94a65801904c44dc7b0ef88da2 Mon Sep 17 00:00:00 2001
-From: Jaroslav Kysela <perex@perex.cz>
-Date: Wed, 22 Jan 2020 20:07:52 +0100
-Subject: [PATCH] ASoC: topology: fix soc_tplg_fe_link_create() - link->dobj
- initialization order
-
-The code which checks the return value for snd_soc_add_dai_link() call
-in soc_tplg_fe_link_create() moved the snd_soc_add_dai_link() call before
-link->dobj members initialization.
-
-While it does not affect the latest kernels, the old soc-core.c code
-in the stable kernels is affected. The snd_soc_add_dai_link() function uses
-the link->dobj.type member to check, if the link structure is valid.
-
-Reorder the link->dobj initialization to make things work again.
-It's harmless for the recent code (and the structure should be properly
-initialized before other calls anyway).
-
-The problem is in stable linux-5.4.y since version 5.4.11 when the
-upstream commit 76d270364932 was applied.
-
-Fixes: 76d270364932 ("ASoC: topology: Check return value for snd_soc_add_dai_link()")
-Cc: Dragos Tarcatu <dragos_tarcatu@mentor.com>
-Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
-Cc: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
-Cc: Mark Brown <broonie@kernel.org>
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Jaroslav Kysela <perex@perex.cz>
----
- sound/soc/soc-topology.c | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
-index fd2d22ddc81b..1c143a00633f 100644
---- a/sound/soc/soc-topology.c
-+++ b/sound/soc/soc-topology.c
-@@ -1891,6 +1891,10 @@ static int soc_tplg_fe_link_create(struct soc_tplg *tplg,
- link->num_codecs = 1;
- link->num_platforms = 1;
-
-+ link->dobj.index = tplg->index;
-+ link->dobj.ops = tplg->ops;
-+ link->dobj.type = SND_SOC_DOBJ_DAI_LINK;
-+
- if (strlen(pcm->pcm_name)) {
- link->name = kstrdup(pcm->pcm_name, GFP_KERNEL);
- link->stream_name = kstrdup(pcm->pcm_name, GFP_KERNEL);
-@@ -1927,9 +1931,6 @@ static int soc_tplg_fe_link_create(struct soc_tplg *tplg,
- goto err;
- }
-
-- link->dobj.index = tplg->index;
-- link->dobj.ops = tplg->ops;
-- link->dobj.type = SND_SOC_DOBJ_DAI_LINK;
- list_add(&link->dobj.list, &tplg->comp->dobj_list);
-
- return 0;
---
-2.24.1
-
diff --git a/kernel.spec b/kernel.spec
index 8fc1d3732..16be143f6 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -582,9 +582,6 @@ Patch527: 0001-crypto-ccp-Release-all-allocated-memory-if-sha-type-.patch
# https://gitlab.freedesktop.org/drm/intel/issues/673
Patch612: drm-i915-gt-Detect-if-we-miss-WaIdleLiteRestore.patch
-# https://bugzilla.redhat.com/show_bug.cgi?id=1772498#c101
-Patch602: ASoC-topology-fix-soc_tplg_fe_link_create-link-dobj-.patch
-
# This is already in 5.5 rhbz 1794369
Patch603: 0001-e1000e-Add-support-for-Comet-Lake.patch
@@ -1830,6 +1827,9 @@ fi
#
#
%changelog
+* Thu Feb 06 2020 Jeremy Cline <jcline@redhat.com> - 5.4.18-100
+- Linux v5.4.18
+
* Sat Feb 01 2020 Jeremy Cline <jcline@redhat.com> - 5.4.17-100
- Linux v5.4.17