]> 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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Sep 2020 15:57:21 +0000 (17:57 +0200)
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>
sound/pci/hda/hda_intel.c

index 904d3af5b99e9aa155d8ca26f3c078abd4ab3960..61e495187b1a86772833035a458cbfad8a33dfff 100644 (file)
@@ -368,7 +368,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)