Received: by 10.192.165.156 with SMTP id m28csp504651imm; Mon, 16 Apr 2018 04:14:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx48jG2y2bBkV6CjXu2HSHP8/64QpnZzThCGpZVeiITn6MosJTCHM67/DGYdpyQFtsEjgzGBw X-Received: by 10.98.104.199 with SMTP id d190mr1991955pfc.111.1523877247138; Mon, 16 Apr 2018 04:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523877247; cv=none; d=google.com; s=arc-20160816; b=vOOvG5M6pymXhKyC4Z58YjFM8ePJTakjXf7JUPCKqHq3ud2ks+1DLwSdftyoh7JgvS hnrpjFKwEBr6P3ymSZLefm4L2RBDq4boH73oNhosMdCwwV+RsVSeff8TgBfd/GhNDXq6 oOoZN1sBJD2sjz8NMpDot+3xDhSOGrN2Hnj/z8GtGSTE7Bo5Auf7B/Y2p81HlmHD0Mea idAgbVR7WIfoLpTMEzEbtgrHZu/hIlWTjoSDQROMj/vu0FxGE8b6JB2eaMLjMxLwYDrV 29QOPiF/lOHOVtS3OUgxb69DX8zZFTCP6UrXfkUtlz2j3E2afd4WYgApm97X4xbpQvEj gBiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=/WvO39J8gsUy6NHclt9vTz/bRkV3RWoV1NmVbq5VZvo=; b=MJMGfsbdMJJDzGsEYB+1plGy8cYlJW/sHySDBjikgTInSFnqMn+yc7FTgVsx9Tnic7 03HJZnU/0RR3NRoFXiH9J+YxUUybcbqXm5iMVZehrdhMnlq+6AgObsqxh8FJdJLrtFJk YzuFClnPEu40IzzHYxQ3w78e62C8lLNVwBy65lEcKeaoul/+BXuqVVoEs0eL53cHqDWV bsci6MU0/y+cCEd1hw66oK2cuK5msVhe2oiD6RKbTdy6uvLiT0W2Km+8BPDLlfVC9m7l a1W1d8/sYLPWDlcZKZPrIWRUUgGSuUDdYUUnVjELN+igkjD/qmdj4a2VIIKlgEKQ4SJ4 i1vg== 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 g13si1648175pgq.69.2018.04.16.04.13.53; Mon, 16 Apr 2018 04:14:07 -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 S1754075AbeDPJsU (ORCPT + 99 others); Mon, 16 Apr 2018 05:48:20 -0400 Received: from zxshcas2.zhaoxin.com ([180.169.121.92]:50001 "EHLO ZXSHCAS2.zhaoxin.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752931AbeDPJsT (ORCPT ); Mon, 16 Apr 2018 05:48:19 -0400 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; Mon, 16 Apr 2018 17:48:15 +0800 Received: from timguo-System-Product-Name.zhaoxin.com (10.29.8.54) 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; Mon, 16 Apr 2018 17:48:13 +0800 From: David Wang To: , , , , , , CC: , , , , , , David Wang Subject: [PATCH] ALSA: hda - New VIA controller suppor no-snoop path Date: Mon, 16 Apr 2018 17:48:09 +0800 Message-ID: <1523872089-6381-1-git-send-email-davidwang@zhaoxin.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.29.8.54] X-ClientProxiedBy: zxbjmbx1.zhaoxin.com (10.29.252.163) To zxbjmbx3.zhaoxin.com (10.29.252.165) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is used to tell kernel that new VIA HDAC controller also support no-snoop path. Signed-off-by: David Wang --- sound/pci/hda/hda_intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 96143df..439e8e9 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1640,7 +1640,7 @@ static void azx_check_snoop_available(struct azx *chip) */ u8 val; pci_read_config_byte(chip->pci, 0x42, &val); - if (!(val & 0x80) && chip->pci->revision == 0x30) + if (!(val & 0x80) && (chip->pci->revision == 0x30 || chip->pci->revision == 0x20)) snoop = false; } -- 1.9.1