summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-02-27 20:21:01 +0100
committerHans de Goede <hdegoede@redhat.com>2020-02-27 20:21:01 +0100
commitc2ef4b9a836b98c5dbb5875e9b37cb8088426cbb (patch)
tree2c61a7030abd46fb1e5f0d49a9abe44f14fef4b8
parentc5ecc439ca8f7c7dad3babd266fc4331f5e2d6a0 (diff)
downloadkernel-c2ef4b9a836b98c5dbb5875e9b37cb8088426cbb.tar.gz
kernel-c2ef4b9a836b98c5dbb5875e9b37cb8088426cbb.tar.xz
kernel-c2ef4b9a836b98c5dbb5875e9b37cb8088426cbb.zip
Fix 5.5.6 sof_hda regression (rhbz 1772498)
-rw-r--r--0001-ASoC-SOF-Intel-hda-Add-iDisp4-DAI.patch38
-rw-r--r--kernel.spec6
2 files changed, 44 insertions, 0 deletions
diff --git a/0001-ASoC-SOF-Intel-hda-Add-iDisp4-DAI.patch b/0001-ASoC-SOF-Intel-hda-Add-iDisp4-DAI.patch
new file mode 100644
index 000000000..e15ad5d75
--- /dev/null
+++ b/0001-ASoC-SOF-Intel-hda-Add-iDisp4-DAI.patch
@@ -0,0 +1,38 @@
+From e68d6696575e1af3f92125e842f2853708f34589 Mon Sep 17 00:00:00 2001
+From: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
+Date: Fri, 20 Dec 2019 11:10:36 -0600
+Subject: [PATCH resend] ASoC: SOF: Intel: hda: Add iDisp4 DAI
+
+TGL supports more than three iDisp DAI's.
+Add support for iDisp4 CPU DAI.
+
+Without this patch, we saw the below error on our TGL DUT:
+ sof_rt5682 tgl_max98357a_rt5682: ASoC: CPU DAI iDisp4 Pin not registered
+
+Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
+Signed-off-by: Jairaj Arava <jairaj.arava@intel.com>
+Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
+Link: https://lore.kernel.org/r/20191220171037.10689-2-pierre-louis.bossart@linux.intel.com
+Signed-off-by: Mark Brown <broonie@kernel.org>
+---
+ sound/soc/sof/intel/hda-dai.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/sound/soc/sof/intel/hda-dai.c b/sound/soc/sof/intel/hda-dai.c
+index 2d9ac0035bd2..638812a41328 100644
+--- a/sound/soc/sof/intel/hda-dai.c
++++ b/sound/soc/sof/intel/hda-dai.c
+@@ -440,6 +440,10 @@ struct snd_soc_dai_driver skl_dai[] = {
+ .name = "iDisp3 Pin",
+ .ops = &hda_link_dai_ops,
+ },
++{
++ .name = "iDisp4 Pin",
++ .ops = &hda_link_dai_ops,
++},
+ {
+ .name = "Analog CPU DAI",
+ .ops = &hda_link_dai_ops,
+--
+2.25.1
+
diff --git a/kernel.spec b/kernel.spec
index c69efd0fb..71737d76d 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -871,6 +871,9 @@ Patch510: 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch
# rhbz 1800335
Patch511: v2_20200128_dmoulding_me_com.patch
+# Fix 5.5.6 sof_hda regression (rhbz#1772498)
+Patch512: 0001-ASoC-SOF-Intel-hda-Add-iDisp4-DAI.patch
+
# END OF PATCH DEFINITIONS
%endif
@@ -2900,6 +2903,9 @@ fi
#
#
%changelog
+* Thu Feb 27 2020 Hans de Goede <hdegoede@redhat.com>
+- Fix 5.5.6 sof_hda regression (rhbz 1772498)
+
* Mon Feb 24 2020 Justin M. Forbes <jforbes@fedoraproject.org> - 5.5.6-201
- Fix for some iwlwifi users (rhbz 1800335)