[SRU][Focal][PATCH 0/4] alsa/sof: let sof driver work with topology with volume and led control (focal)

Hui Wang hui.wang at canonical.com
Mon Feb 24 01:13:07 UTC 2020


BugLink: http://bugs.launchpad.net/bugs/1864398

[Impact]
In the ubuntu 20.04, we plan to integrate sof-firmware v1.4.2, the
topology of this version contains volume and led control, we need
to add this support in the sof driver, otherwise the sof will crash
when parsing the topology of v1.4.2.  After adding these patches,
the sof still coudl work with topology without volume and led control.

[Fix]
Backported the patches from mainline kernel v5.5-c1

[Test Case]
Install the sof-firmware v1.4.2
boot the kernel with these patches, sof driver initializes successfully,
and we could get a working sound card after booting up.

Install the sof-firmware v1.3.1
boot the kernel with these patches, sof driver initializes successfully,
and we could get a working sound card after booting up.

[Regression Risk]
Low, the patches are backported from upstream kernel, and I tested
this patch on Lenovo and Dell dmic machines.


Jaska Uimonen (3):
  ASoC: SOF: enable dual control for pga
  AsoC: SOF: refactor control load code
  ASoC: SOF: acpi led support for switch controls

Pierre-Louis Bossart (1):
  ASoC: SOF: topology: check errors when parsing LED tokens

 include/uapi/sound/sof/tokens.h |   4 +
 sound/soc/sof/control.c         |  32 +++
 sound/soc/sof/sof-priv.h        |   9 +
 sound/soc/sof/topology.c        | 338 +++++++++++++++++---------------
 4 files changed, 223 insertions(+), 160 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list