Received: by 10.192.165.148 with SMTP id m20csp2520824imm; Sun, 22 Apr 2018 08:45:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx48ovFkmHl1K4sOmRDTs7PIpQR4Z+ZzYPJLy2yufFKud00nJg1Qk37BMIoHWNKMSlsF1zJr7 X-Received: by 10.101.87.138 with SMTP id b10mr14485362pgr.241.1524411912540; Sun, 22 Apr 2018 08:45:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524411912; cv=none; d=google.com; s=arc-20160816; b=r/lPrRswlws2zv1CVfU7719dFVgIYDuZgeQihzDXkvZGR25eEpqG+fvvVxpX+dLZeo I+/lSxCPCe+0TK/pu2J6ABUR070TVcr1kz5CoQ5Y2d09DCoLAM9cIZLws6AiXRueI8MK 1TWIFaUBtkSCUVfvbkQoEEHZgq2oTtQ4kDrfjVl9+289+zPqxRYLEedZLvXg9WfLGL0Q n7KJKZXFIj7NAwelA8Ep3iYhEc9DdgFdOguZYeRH65+5sjBTMNKcgiqGNKFQgfxWmchc kSIwFkS9V5p+k8iJQ8C+Tf9MhvwviAldbYZlZULsTdxIda3MRLgZ/uQKKAkTD4N0hear THJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=aADj4mgvT3b35WHbYMKX446U/r0JdGLtEgi1pgiY9AI=; b=LYvT6ZO/zkEGpBPOC3D2Pf8VbQHtZZLuvwXy9pa72wjPeEt2gixw62XHJ+76ayeKga QUS0lhcANqecrKI5kV5GAg8GSb2VrOCEFge2qa/ia8Lm1KvovmV3wpT3XDI79s3fUM6f vzFFdM82vKnVxjjlTGQxjeai7eHRmB5w/VAIbjbsLcUZWQGJFiT3QHKgH5OyEaRjHJ/R fm5cd0/yGSG0cNi64DKfxu+qj6x8p+1wQZfqduYVMhYQLJCB83GQ8gaAMH9WMr11m178 6TBOMSyLYLAnIQ+70FaTXM3LnmL/p7fJGzyr5WSn1z3Bl/nKIUSnOgGyGHpcniE3ZjQI VyqQ== 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 q127si8244838pga.326.2018.04.22.08.44.58; Sun, 22 Apr 2018 08:45:12 -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 S1755302AbeDVPne (ORCPT + 99 others); Sun, 22 Apr 2018 11:43:34 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49066 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754987AbeDVODJ (ORCPT ); Sun, 22 Apr 2018 10:03:09 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id EEBFECDB; Sun, 22 Apr 2018 14:03:08 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, David Wang , Takashi Iwai Subject: [PATCH 4.16 160/196] ALSA: hda - New VIA controller suppor no-snoop path Date: Sun, 22 Apr 2018 15:53:00 +0200 Message-Id: <20180422135112.503674836@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135104.278511750@linuxfoundation.org> References: <20180422135104.278511750@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: David Wang commit af52f9982e410edac21ca4b49563053ffc9da1eb upstream. This patch is used to tell kernel that new VIA HDAC controller also support no-snoop path. [ minor coding style fix by tiwai ] Signed-off-by: David Wang Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/hda_intel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -1645,7 +1645,8 @@ static void azx_check_snoop_available(st */ 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; }