]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ALSA: hda - controller is in GPU on the DG1
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Mon, 21 Sep 2020 14:17:39 +0000 (17:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:28:04 +0000 (13:28 +0100)
[ Upstream commit eb3bffcb79b52a8e9f645c5c495621f61c38e60b ]

Add Intel DG1 to the CONTROLLER_IN_GPU list to ensure audio power is
requested whenever programming the controller.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200921141741.2983072-3-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Stable-dep-of: ff447886e675 ("ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/hda_intel.c

index c0b8844a2d5bd138d1cc2fc52f0c0aa8f8c668cb..6a44ad513a9651779727ea6b0be488abefd2c237 100644 (file)
@@ -366,7 +366,8 @@ enum {
 #define CONTROLLER_IN_GPU(pci) (((pci)->device == 0x0a0c) || \
                                        ((pci)->device == 0x0c0c) || \
                                        ((pci)->device == 0x0d0c) || \
-                                       ((pci)->device == 0x160c))
+                                       ((pci)->device == 0x160c) || \
+                                       ((pci)->device == 0x490d))
 
 #define IS_BXT(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x5a98)
 #define IS_CFL(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0xa348)