Comment 5 for bug 1886341

Revision history for this message
Hui Wang (hui.wang) wrote : Re: Kernel Regression between 5.4.0-26 and 5.4.0-40 causes laptop internal audio devices to fail to load w/o unacceptable workaround

Let us record a potential fix here:

commit 91dce767cd0b08be9f1c87bb2de8e63391a72692
Author: Kai Vehmanen <email address hidden>
Date: Tue Dec 17 18:26:13 2019 -0600

    ASoC: SOF: Intel: drop HDA codec upon probe failure

    In case a HDA codec probe fails, do not raise error immediately,
    but instead remove the codec from bus->codec_mask and continue
    probe for other codecs.

    This allows for more robust behaviour in cases where one codec
    in the system is faulty. SOF driver load can still proceed with
    the codecs that can be probed successfully. Probe may still
    fail if suitable machine driver is not found, but in many
    cases the generic HDA machine driver can operate with a subset
    of codecs.

    Reviewed-by: Ranjani Sridharan <email address hidden>
    Signed-off-by: Kai Vehmanen <email address hidden>
    Signed-off-by: Pierre-Louis Bossart <email address hidden>
    Link: https://<email address hidden>
    Signed-off-by: Mark Brown <email address hidden>