[SRU][OEM-B-OSP1/E/F/OEM-5.6/unstable][PATCH 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
Wed Apr 29 09:03:28 UTC 2020


Oh, sorry, the bug number should be:

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

On 2020/4/29 下午4:51, Timo Aaltonen wrote:
> On 23.4.2020 4.24, Hui Wang wrote:
>> BugLink: https://bugs.launchpad.net/bugs/1871284
>>
>> 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(-)
>>
> btw, the bug is 1874359 not 1871284
>
>
>



More information about the kernel-team mailing list