Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp612116ybi; Fri, 2 Aug 2019 01:20:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzM2UdiT3YrtdBb7jXcDkyfJN0gmbXj2nJdYSSC50le1UjWFJSg2+qIX7vEuYiRVeg+QLDx X-Received: by 2002:a63:593:: with SMTP id 141mr120517150pgf.78.1564734003971; Fri, 02 Aug 2019 01:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564734003; cv=none; d=google.com; s=arc-20160816; b=MfPSrSpLZre7gVD5lE2N8sc63C0UO5S0VKbkpSLp9IcFIx5rYrAeDYSPrCf7HWNLMH qMBUQGWI2DFFP793Bi3sQuxB7sHrx/VodEjdO7C2+UJZcHGpbw1bA1oixQkdxtRsHtlL uqZwWxx2r5RFiMlYjfsJ7IZpvbbxRh7eXNjkC+uo9agt88SYEhyi0+xVZBCEQBtVUS/m 2fMcp3/RkPPWvg7qZoDclqndHrQjsjmE/gHqsxI8X8fyE+XebAAId0+2SbHh0nTq02Ui 0S3IZpEHor5NobHTpVJKXiXEJ7xAc8hAsShgs6tROLsTl35m+dfHZsnR8o25inAFe5rd 2vkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=ciJe/ne0j0xKVyX6Ln9mGfjx5EKLkUj3swrhjr2VDJk=; b=z/T6UfZiNoz6Gr4P5qfH6cXKnvATA9AIqccQrITnGM1DQF7VACabgWtxLJSoJRnqlz 36Nnmo52J/0cUDmio6IdWDYXmEXWZZoDPK5u8f272kwMMWS6cUookMGbyYRA3AZ2q1AH txpBnpKGrwyYPqAojxDfoD0ZSqjRoIWtMpY53Ap2QC0mpBJHnVuqf3jtnO6BLil8E7u0 v5jEtN25lh/MgfLkSyha3d8rKBqR/O8L81m+7iVBRB1vku+3ugei5gHxtFl/Us0pphWo 9KUJU3le5rOjxfVoH+zCNzMI4drJq+cq7cR/vuOCfu4gvrH6WA3iFUf08opKlRNgPQ9x J7OQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k43si6139920pje.59.2019.08.02.01.19.46; Fri, 02 Aug 2019 01:20:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728928AbfHBDTU convert rfc822-to-8bit (ORCPT + 99 others); Thu, 1 Aug 2019 23:19:20 -0400 Received: from ZXSHCAS2.zhaoxin.com ([203.148.12.82]:25097 "EHLO ZXSHCAS2.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725872AbfHBDTU (ORCPT ); Thu, 1 Aug 2019 23:19:20 -0400 X-Greylist: delayed 903 seconds by postgrey-1.27 at vger.kernel.org; Thu, 01 Aug 2019 23:19:20 EDT Received: from zxbjmbx3.zhaoxin.com (10.29.252.165) by ZXSHCAS2.zhaoxin.com (10.28.252.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Fri, 2 Aug 2019 11:04:09 +0800 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by zxbjmbx3.zhaoxin.com (10.29.252.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1261.35; Fri, 2 Aug 2019 11:04:08 +0800 Received: from zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d]) by zxbjmbx1.zhaoxin.com ([fe80::b41a:737:a784:b70d%16]) with mapi id 15.01.1261.035; Fri, 2 Aug 2019 11:04:08 +0800 From: Tony W Wang-oc To: "perex@perex.cz" , "tiwai@suse.com" , "pierre-louis.bossart@linux.intel.com" , "yung-chuan.liao@linux.intel.com" , "broonie@kernel.org" , "hui.wang@canonical.com" , "hdegoede@redhat.com" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" CC: David Wang , "Cooper Yan(BJ-RD)" , "Qiyuan Wang(BJ-RD)" , "Herry Yang(BJ-RD)" Subject: [PATCH] ALSA: hda: Add support of Zhaoxin controller Thread-Topic: [PATCH] ALSA: hda: Add support of Zhaoxin controller Thread-Index: AdVI3pD9kHR9FMHOSZOhS2qnXMRigQ== Date: Fri, 2 Aug 2019 03:04:08 +0000 Message-ID: <6a423679a72a4acb88233559fae0507b@zhaoxin.com> Accept-Language: en-US, zh-CN Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.32.64.75] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the new PCI ID 0x1d17 0x3288 Zhaoxin controller support Signed-off-by: Tony W Wang-oc --- 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