linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda: Add support of Zhaoxin controller
@ 2019-08-02  3:04 Tony W Wang-oc
  2019-08-02  5:50 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Tony W Wang-oc @ 2019-08-02  3:04 UTC (permalink / raw)
  To: perex, tiwai, pierre-louis.bossart, yung-chuan.liao, broonie,
	hui.wang, hdegoede, alsa-devel, linux-kernel
  Cc: David Wang, Cooper Yan(BJ-RD), Qiyuan Wang(BJ-RD), Herry Yang(BJ-RD)

Add the new PCI ID 0x1d17 0x3288 Zhaoxin controller support

Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
---
 sound/pci/hda/hda_intel.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 324a4b2..d08da0e 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -266,6 +266,7 @@ enum {
 	AZX_DRIVER_CTX,
 	AZX_DRIVER_CTHDA,
 	AZX_DRIVER_CMEDIA,
+	AZX_DRIVER_ZHAOXIN,
 	AZX_DRIVER_GENERIC,
 	AZX_NUM_DRIVERS, /* keep this as last entry */
 };
@@ -379,6 +380,7 @@ static char *driver_short_names[] = {
 	[AZX_DRIVER_CTX] = "HDA Creative", 
 	[AZX_DRIVER_CTHDA] = "HDA Creative",
 	[AZX_DRIVER_CMEDIA] = "HDA C-Media",
+	[AZX_DRIVER_ZHAOXIN] = "HDA Zhaoxin",
 	[AZX_DRIVER_GENERIC] = "HD-Audio Generic",
 };
 
@@ -2589,6 +2591,8 @@ static const struct pci_device_id azx_ids[] = {
 	  .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
 	  .class_mask = 0xffffff,
 	  .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_ATI_HDMI },
+	/* Zhaoxin */
+	{ PCI_DEVICE(0x1d17, 0x3288), .driver_data = AZX_DRIVER_ZHAOXIN },
 	{ 0, }
 };
 MODULE_DEVICE_TABLE(pci, azx_ids);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: hda: Add support of Zhaoxin controller
  2019-08-02  3:04 [PATCH] ALSA: hda: Add support of Zhaoxin controller Tony W Wang-oc
@ 2019-08-02  5:50 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2019-08-02  5:50 UTC (permalink / raw)
  To: Tony W Wang-oc
  Cc: alsa-devel, hui.wang, broonie, pierre-louis.bossart,
	yung-chuan.liao, perex, hdegoede, Takashi Iwai, linux-kernel,
	Cooper Yan(BJ-RD), David Wang, Herry Yang(BJ-RD),
	Qiyuan Wang(BJ-RD)

On Fri, 02 Aug 2019 05:04:08 +0200,
Tony W Wang-oc wrote:
> 
> Add the new PCI ID 0x1d17 0x3288 Zhaoxin controller support
> 
> Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>

Applied, thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-02  5:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02  3:04 [PATCH] ALSA: hda: Add support of Zhaoxin controller Tony W Wang-oc
2019-08-02  5:50 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).