All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kai Vehmanen <kai.vehmanen@linux.intel.com>
To: alsa-devel@alsa-project.org, tiwai@suse.de
Cc: kai.vehmanen@linux.intel.com
Subject: [PATCH 2/4] ALSA: hda - controller is in GPU on the DG1
Date: Mon, 21 Sep 2020 17:17:39 +0300	[thread overview]
Message-ID: <20200921141741.2983072-3-kai.vehmanen@linux.intel.com> (raw)
In-Reply-To: <20200921141741.2983072-1-kai.vehmanen@linux.intel.com>

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>
---
 sound/pci/hda/hda_intel.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 904d3af5b99e..61e495187b1a 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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)
 
-- 
2.27.0


  parent reply	other threads:[~2020-09-21 14:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-21 14:17 [PATCH 0/4] ALSA: hda - add Intel DG1 support Kai Vehmanen
2020-09-21 14:17 ` [PATCH 1/4] ALSA: hda - add Intel DG1 PCI and HDMI ids Kai Vehmanen
2020-09-21 14:17 ` Kai Vehmanen [this message]
2020-09-21 14:17 ` [PATCH 3/4] ALSA: hda - handle multiple i915 device instances Kai Vehmanen
2020-09-21 14:17 ` [PATCH 4/4] ALSA: hda - fix CONTROLLER_IN_GPU macro name Kai Vehmanen
2020-09-21 16:00 ` [PATCH 0/4] ALSA: hda - add Intel DG1 support Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200921141741.2983072-3-kai.vehmanen@linux.intel.com \
    --to=kai.vehmanen@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.