APPLIED[OEM-5.6] Re: [SRU][OEM-5.6][PATCH 0/1] alsa: should not load sof driver if the internal mic connects to the codec

Timo Aaltonen tjaalton at ubuntu.com
Fri Aug 14 12:35:46 UTC 2020


On 5.8.2020 6.02, Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1890231
> 
> This issue was introduced by #1872916 ("Support Intel Soundwire
> in 5.6-OEM Kernel 20.04"), so focal and groovy kernels don't need
> this fix.
> 
> [Impact]
> We found the sof driver instead of hda driver is enabled on a dell
> machine without soundwire and dmic. This will make gnome show dummy
> output and users have no audio device to use.
> 
> [Fix]
> When we integrated fix for #1872916, we backported 2 patches, these
> 2 patches enable the sof driver unconditionally for Dell comet lake
> machines. There is an upstream patch to fix it, let the sof driver
> enable conditionally on comet lake machines.
> 
> [Test Case]
> Boot the kernel with this patch on that dell machine, check the
> gnome-control-center, all audio devices exist, playback and recording
> work well.
> 
> [Regression Risk]
> On the Dell comet lake machines with dmic, the sof driver should
> enable. Without this patch, the sof driver will enable unconditionally,
> but with this patch, the sof driver will enable conditionally, so it
> is possible to introduce a regression that on Dell comet machines,
> the sof driver doesn't enable even the machine has dmic.
> 
> I have tested this patch on a Dell comet lake dmic machines, it worked
> well.
> 
> 
> Pierre-Louis Bossart (1):
>   ALSA: hda: add autodetection for SoundWire
> 
>  sound/hda/intel-dsp-config.c | 23 ++++++++++++++++++-----
>  1 file changed, 18 insertions(+), 5 deletions(-)
> 

applied to oem-5.6, thanks

-- 
t



More information about the kernel-team mailing list