[SRU][E/F/unstable][PATCH RESEND 0/1] alsa/sof: kernel oops on the machine without Intel hdmi audio codec (a regression in the asoc machine driver)

Hui Wang hui.wang at canonical.com
Thu Apr 30 13:17:52 UTC 2020


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

In the RESEND:
fix the bug number, and this SRU already applied to OEM-B-OSP1 and
OEM-5.6 kernel, so remove them form title.


Please apply the fix for #1872569 first, then apply this patch.

[Impact]
The fix for #1872569 introduces a regression, the driver access a
NULL pointer on the machiens without Intel hdmi audio codec.

[Fix]
pick a fixing patch from alsa/asoc repo, the patch doesn't assume
the first rtd is for hda codec, it will look for that rtd through
strstr()

[Test Case]
Boot the kenrel on those 2 Dell and 2 Lenovo machines which uses
this driver, the audio could work. disable the intel hdmi audio codec
through bios, the analogue audio still works


[Regression Risk]
Low, I have tested this patch Lenovo / Dell machines, they all worked well.


Kai Vehmanen (1):
  UBUNTU: SAUCE: ASoC: intel/skl/hda - fix oops on systems without i915
    audio codec

 sound/soc/intel/boards/skl_hda_dsp_generic.c | 34 +++++++++++---------
 1 file changed, 18 insertions(+), 16 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list