[PATCH] ALSA: hda/hdmi - fix atpx_present when CLASS is not VGA

Takashi Iwai tiwai at suse.de
Sat Dec 21 08:29:31 UTC 2019


On Sat, 21 Dec 2019 01:17:02 +0100,
Alex Deucher wrote:
> 
> You can't use PCI_BASE_CLASS with pci_get_class().  This
> happens to work by luck on devices with PCI_CLASS_DISPLAY_VGA, but
> misses PCI_CLASS_DISPLAY_OTHER.  Add a check for those as well.
> 
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Applied, thanks.


Takashi


More information about the amd-gfx mailing list