]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 7 Mar 2023 21:40:54 +0000 (15:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:42 +0000 (13:33 +0100)
commit4db41f2fb43849bf389bd23bf8d4dfb3c6e19184
tree5cf18ea3bc88ff38c4c55300deea7dfc83690e43
parent45d03e11c104976afeb0b667af59d5ebbc3a0054
ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()

[ Upstream commit c437a9f6047f21f7bd445628f421abf36a079e6a ]

CONTROLLER_IN_GPU() is clearly intended to match only Intel devices, but
previously it checked only the PCI Device ID, not the Vendor ID, so it
could match devices from other vendors that happened to use the same Device
ID.

Update CONTROLLER_IN_GPU() so it matches only Intel devices.

Fixes: 6ab9beb9047e ("ALSA: hda - Abort the probe without i915 binding for HSW/B")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20230307214054.886721-1-helgaas@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/hda_intel.c