]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop 4.4 and 4.9 patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 19:06:27 +0000 (21:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 19:06:27 +0000 (21:06 +0200)
queue-4.4/asoc-fail-card-instantiation-if-dai-format-setup-fai.patch [deleted file]
queue-4.4/series
queue-4.9/asoc-fail-card-instantiation-if-dai-format-setup-fai.patch [deleted file]
queue-4.9/series

diff --git a/queue-4.4/asoc-fail-card-instantiation-if-dai-format-setup-fai.patch b/queue-4.4/asoc-fail-card-instantiation-if-dai-format-setup-fai.patch
deleted file mode 100644 (file)
index 65880e4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From 23ef2a8aea13486004622afb1fdfd0ec8fe24d30 Mon Sep 17 00:00:00 2001
-From: Ricard Wanderlof <ricard.wanderlof@axis.com>
-Date: Wed, 24 Jul 2019 11:38:44 +0200
-Subject: ASoC: Fail card instantiation if DAI format setup fails
-
-[ Upstream commit 40aa5383e393d72f6aa3943a4e7b1aae25a1e43b ]
-
-If the DAI format setup fails, there is no valid communication format
-between CPU and CODEC, so fail card instantiation, rather than continue
-with a card that will most likely not function properly.
-
-Signed-off-by: Ricard Wanderlof <ricardw@axis.com>
-Link: https://lore.kernel.org/r/alpine.DEB.2.20.1907241132350.6338@lnxricardw1.se.axis.com
-Signed-off-by: Mark Brown <broonie@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- sound/soc/soc-core.c | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
-index b927f9c81d922..8d10a24d38e06 100644
---- a/sound/soc/soc-core.c
-+++ b/sound/soc/soc-core.c
-@@ -1357,8 +1357,11 @@ static int soc_probe_link_dais(struct snd_soc_card *card, int num, int order)
-               }
-       }
--      if (dai_link->dai_fmt)
--              snd_soc_runtime_set_dai_fmt(rtd, dai_link->dai_fmt);
-+      if (dai_link->dai_fmt) {
-+              ret = snd_soc_runtime_set_dai_fmt(rtd, dai_link->dai_fmt);
-+              if (ret)
-+                      return ret;
-+      }
-       ret = soc_post_component_init(rtd, dai_link->name);
-       if (ret)
--- 
-2.20.1
-
index 94532be91e3b456ab64e588a6858427a0f7f54c5..53cb855dcc8ec762303970a495753a8123b3d63f 100644 (file)
@@ -3,7 +3,6 @@ mips-kernel-only-use-i8253-clocksource-with-periodic.patch
 netfilter-ebtables-fix-a-memory-leak-bug-in-compat.patch
 bonding-force-slave-speed-check-after-link-state-rec.patch
 can-dev-call-netif_carrier_off-in-register_candev.patch
-asoc-fail-card-instantiation-if-dai-format-setup-fai.patch
 st21nfca_connectivity_event_received-null-check-the-.patch
 st_nci_hci_connectivity_event_received-null-check-th.patch
 asoc-ti-davinci-mcasp-correct-slot_width-posed-const.patch
diff --git a/queue-4.9/asoc-fail-card-instantiation-if-dai-format-setup-fai.patch b/queue-4.9/asoc-fail-card-instantiation-if-dai-format-setup-fai.patch
deleted file mode 100644 (file)
index f75efc5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From d3e2105c72b22011b4839e7031bf0026dfcb3f06 Mon Sep 17 00:00:00 2001
-From: Ricard Wanderlof <ricard.wanderlof@axis.com>
-Date: Wed, 24 Jul 2019 11:38:44 +0200
-Subject: ASoC: Fail card instantiation if DAI format setup fails
-
-[ Upstream commit 40aa5383e393d72f6aa3943a4e7b1aae25a1e43b ]
-
-If the DAI format setup fails, there is no valid communication format
-between CPU and CODEC, so fail card instantiation, rather than continue
-with a card that will most likely not function properly.
-
-Signed-off-by: Ricard Wanderlof <ricardw@axis.com>
-Link: https://lore.kernel.org/r/alpine.DEB.2.20.1907241132350.6338@lnxricardw1.se.axis.com
-Signed-off-by: Mark Brown <broonie@kernel.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- sound/soc/soc-core.c | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
-index 168559b5e9f32..d4fb45710eec1 100644
---- a/sound/soc/soc-core.c
-+++ b/sound/soc/soc-core.c
-@@ -1632,8 +1632,11 @@ static int soc_probe_link_dais(struct snd_soc_card *card,
-               }
-       }
--      if (dai_link->dai_fmt)
--              snd_soc_runtime_set_dai_fmt(rtd, dai_link->dai_fmt);
-+      if (dai_link->dai_fmt) {
-+              ret = snd_soc_runtime_set_dai_fmt(rtd, dai_link->dai_fmt);
-+              if (ret)
-+                      return ret;
-+      }
-       ret = soc_post_component_init(rtd, dai_link->name);
-       if (ret)
--- 
-2.20.1
-
index d2651db09e804fe1e5564be289983a3f61287287..b004ceda51239dc393198c6795dbd75d03686608 100644 (file)
@@ -4,7 +4,6 @@ netfilter-ebtables-fix-a-memory-leak-bug-in-compat.patch
 asoc-dapm-fix-handling-of-custom_stop_condition-on-d.patch
 bonding-force-slave-speed-check-after-link-state-rec.patch
 can-dev-call-netif_carrier_off-in-register_candev.patch
-asoc-fail-card-instantiation-if-dai-format-setup-fai.patch
 st21nfca_connectivity_event_received-null-check-the-.patch
 st_nci_hci_connectivity_event_received-null-check-th.patch
 asoc-ti-davinci-mcasp-correct-slot_width-posed-const.patch