]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda: intel: Add Lenovo IdeaPad Z570 to probe denylist
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Sat, 8 Feb 2025 21:46:02 +0000 (23:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2025 08:45:41 +0000 (09:45 +0100)
commitbecc794c5e46f4dfca59f2385f78d83fc9e84700
tree79b225498267b813bbbae7371418216f307281a9
parent2b360ba9a4936486380bc30d1eabceb40a714d98
ALSA: hda: intel: Add Lenovo IdeaPad Z570 to probe denylist

Lenovo IdeaPad Z570 with NVIDIA GeForce Ge 540M doesn't have sound on
the discrete GPU. The HDA controller in DGPU is disabled by BIOS, but
then reenabled by quirk_nvidia_hda(). The probe fails and ends up with
the "GPU sound probed, but not operational" error.

Add this laptop to DMI-based denylist to prevent probe early. DMI is
used, because the audio device has zero subsystem IDs, and this entry
would be too much, blocking all 540M chips:
    PCI_DEVICE_SUB(0x10de, 0x0bea, 0x0000, 0x0000)
Also, this laptop comes in a variety of modifications with different
NVIDIA GPUs, so the DMI check will cover them all.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Link: https://patch.msgid.link/20250208214602.39607-3-maxtram95@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c