Commit f94cd343 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by sanglipeng
Browse files

ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()

stable inclusion
from stable-v5.10.176
commit 0c6c5abeb471fead787ab12d8cafb9850cf66de2
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8CHVQ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0c6c5abeb471fead787ab12d8cafb9850cf66de2



--------------------------------

[ Upstream commit ff447886 ]

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: 535115b5 ("ALSA: hda - Abort the probe without i915 binding for HSW/B")
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20230307214054.886721-1-helgaas@kernel.org


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 3d281570
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment