• Takashi Iwai's avatar
    ALSA: hda/realtek: More robust component matching for CS35L41 · 35a17444
    Takashi Iwai authored
    As the previous commit implies, a system may have a different SPI bus
    number that is embedded in the device string.  And, assuming the fixed
    bus number is rather fragile; it may be assigned differently depending
    on the configuration or on the boot environment.  Once when a bus
    number change happens, the binding fails, resulting in the silence.
    
    This patch tries to make the matching a bit more relaxed, allowing to
    bind with a different bus number (or without it).  So the previous
    fix, the introduction of ALC245_FIXUP_CS35L41_SPI1_2 fixup became
    superfluous, and this is unified to ALC245_FIXUP_CS35L41_SPI_2.
    
    Fixes: 225f6e1b ("ALSA: hda/realtek: Add quirk for HP Zbook Firefly 14 G9 model")
    Link: https://lore.kernel.org/r/20220930084810.10435-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    35a17444
patch_realtek.c 374 KB