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)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Mar 2023 05:38:51 +0000 (06:38 +0100)
commitff447886e675979d66b2bc01810035d3baea1b3a
treece8555eb7ee165db4dfe19b26af6bbd985d65212
parenta86e79e3015f5dd8e1b01ccfa49bd5c6e41047a1
ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()

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: 535115b5ff51 ("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>
sound/pci/hda/hda_intel.c