[SRU][B][linux-firmwar v2 1/1] UBUNTU: SAUCE: generate 2 symbollinks for sof-hda-generic.tplg

Hui Wang hui.wang at canonical.com
Thu Jun 4 11:08:33 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1880623

After users install the ubuntu focal kernel in the Bionic, the
sof driver can't find the needed topology files. That is
because the sof driver in the kernel 5.4 changes the topology's
name. After generating 2 symbollinks, the sof driver in kernel
5.4 could load the topology and audio works well.

Signed-off-by: Hui Wang <hui.wang at canonical.com>
---
 WHENCE.ubuntu                           | 16 +++++++++++++---
 intel/sof-tplg/sof-hda-generic-2ch.tplg |  1 +
 intel/sof-tplg/sof-hda-generic-4ch.tplg |  1 +
 3 files changed, 15 insertions(+), 3 deletions(-)
 create mode 120000 intel/sof-tplg/sof-hda-generic-2ch.tplg
 create mode 120000 intel/sof-tplg/sof-hda-generic-4ch.tplg

diff --git a/WHENCE.ubuntu b/WHENCE.ubuntu
index a92dc11a..65264ad7 100644
--- a/WHENCE.ubuntu
+++ b/WHENCE.ubuntu
@@ -151,9 +151,19 @@ License: Redistributable. See LICENSE.1a98-INTEL-EDK2-2-tplg for details.
 
 Driver: snd_soc_sof - sound open firmware driver
 
-File: intel/sof/*.ri
-File: intel/sof/*.ldc
-File: intel/sof-tplg/*.tplg
+File: intel/sof/cml/intel/sof-cml-v1.3-0f73628.ldc
+File: intel/sof/cml/intel/sof-cml-v1.3-0f73628.ri
+File: intel/sof/cnl/intel/sof-cnl-v1.3-0f73628.ldc
+File: intel/sof/cnl/intel/sof-cnl-v1.3-0f73628.ri
+Link: intel/sof/sof-cfl.ldc -> cnl/intel/sof-cnl-v1.3-0f73628.ldc
+Link: intel/sof/sof-cfl.ri -> cnl/intel/sof-cnl-v1.3-0f73628.ri
+Link: intel/sof/sof-cml.ldc -> cml/intel/sof-cml-v1.3-0f73628.ldc
+Link: intel/sof/sof-cml.ri -> cml/intel/sof-cml-v1.3-0f73628.ri
+Link: intel/sof/sof-cnl.ldc -> cnl/intel/sof-cnl-v1.3-0f73628.ldc
+Link: intel/sof/sof-cnl.ri -> cnl/intel/sof-cnl-v1.3-0f73628.ri
+File: intel/sof-tplg/sof-hda-generic.tplg
+Link: intel/sof-tplg/sof-hda-generic-2ch.tplg -> sof-hda-generic.tplg
+Link: intel/sof-tplg/sof-hda-generic-4ch.tplg -> sof-hda-generic.tplg
 
 Licence: Redistributable. See LICENSE.sof
 
diff --git a/intel/sof-tplg/sof-hda-generic-2ch.tplg b/intel/sof-tplg/sof-hda-generic-2ch.tplg
new file mode 120000
index 00000000..eea02c70
--- /dev/null
+++ b/intel/sof-tplg/sof-hda-generic-2ch.tplg
@@ -0,0 +1 @@
+sof-hda-generic.tplg
\ No newline at end of file
diff --git a/intel/sof-tplg/sof-hda-generic-4ch.tplg b/intel/sof-tplg/sof-hda-generic-4ch.tplg
new file mode 120000
index 00000000..eea02c70
--- /dev/null
+++ b/intel/sof-tplg/sof-hda-generic-4ch.tplg
@@ -0,0 +1 @@
+sof-hda-generic.tplg
\ No newline at end of file
-- 
2.17.1




More information about the kernel-team mailing list