Received: by 10.192.165.148 with SMTP id m20csp2467267imm; Sun, 22 Apr 2018 07:38:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+30Yct36UkTI+g+imOkqt9T61iMz7juEDancVRA4Az/l+5BOM4kMjmpSlNANIIZMz3fpsF X-Received: by 10.98.98.65 with SMTP id w62mr16856378pfb.256.1524407937396; Sun, 22 Apr 2018 07:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524407937; cv=none; d=google.com; s=arc-20160816; b=ieoI5l9cxrmn/XP2J/SX1Jr8ej+W/gdOU+UNt+er/9zbTQ2gDBvhNpGYv6qbbw4zMm zuRAEY3k24rnMDKGw/Ljaa023GnbaHqdBL+k2RgRwHbRZGuYck9Iks7dLyD3pcBVFIuV GBmdt6/diV7faDClPvj0oYNQJzRPwdQpHO4K4IM+GkLxW1eHGGL+w13Ge1QyPuETM7FR m98IxQnYCZreJj7TDz9sos0P1LDjslSbFETu59Bk95Uc8y/XxfKG4t9d939FlkKgiAS5 wpBEqoLYdqYbzYWvqt+UkJURdClJ31AN/Plq7mggDtH9hj7v6kNvBH0XAcGaoouPE9Pm AByw== 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=XM2IfrgxVPzqzeM7H+D7DDdn97FLGkknUncHTuq8NKk=; b=lF3c0cpMzW6eHm0uYZEUhv4aoTJDAkmtpL+S6TF8tlYigtVB1KYHoMaSSSuPXUNn+/ nx8EBBsfbF2yOJ9hwUg1PFafcDixcoKdFYURsSA/gXsLIgHk4IPLeuRouBb4mh1pD+Vr A1j3rbvs5Jl2zE1TjYRQs7C3G+JaSSQGG3rEAMJiHn6pa9SjRq+bppNHktgWa6JStYLQ PW3Mwfa/zXLgd8Gk56eOZ4f2GPX/awqrbvgfEl2NxzNBluSjVBSLCWTUPvlSCEX6fJYd 5wgi9IgoPrFL2zBuEt1eAMvB3cf1ZAx7YnXdVpIkJkdyEof7tfOE+t3eOhT2ZfyQ5ZDf lumw== 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 b14-v6si9758090pll.116.2018.04.22.07.38.43; Sun, 22 Apr 2018 07:38:57 -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 S1757322AbeDVOhj (ORCPT + 99 others); Sun, 22 Apr 2018 10:37:39 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59090 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932481AbeDVOSl (ORCPT ); Sun, 22 Apr 2018 10:18:41 -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 144ECD0D; Sun, 22 Apr 2018 14:18:40 +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.4 80/97] ALSA: hda - New VIA controller suppor no-snoop path Date: Sun, 22 Apr 2018 15:53:58 +0200 Message-Id: <20180422135309.591024273@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135304.577223025@linuxfoundation.org> References: <20180422135304.577223025@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.4-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 @@ -1549,7 +1549,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; }