Received: by 10.192.165.148 with SMTP id m20csp2481819imm; Sun, 22 Apr 2018 07:58:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+fLGwKFsAEEN60EmTLw6ofxz8UqZgGm2IFJfM+ZuAqrPP6jaGl+jarlCpueybL4VCnHBKw X-Received: by 10.98.72.74 with SMTP id v71mr16798125pfa.241.1524409123937; Sun, 22 Apr 2018 07:58:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524409123; cv=none; d=google.com; s=arc-20160816; b=IRbp6fsHmG8v2BlQBWK8mvFTEbJ6OdGYx/LDZ1NiK+gIZ9e7Y3cOGR3KINrdRiUMay enoWaUPYHyRFWn8ojLXswaZm2twdUMga2H/IceDSpJjqrXXwjDc6bajePvdmAvLjxFDy TqcZzre+JbRo6sGWyWcefo4Ym8J0wfx749ZgVndjHdGnJP0Viyn48ghUVof6qdBxbKgG a6hsO24bPIBYGd+b7GJ+Eh2ZoEn2dA5AILTxNB/xgdCG1Ufd3cYR58VoA2bqhy0gxL6k Da7/8KNL8ETREzrhLdTxB0MNpLI0VFtJ419Ax2bGwfqe8qKC2NLMiMaDBNAmNP3k4BHD fNDQ== 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=ginU0lqF7ed0hzAj0JTtR9HtDpDT7MTJdSGzo9dbxm0=; b=zZiZh4co7tQa6v5ImWq8GerVTKUX/++KL2AiSeekwcDH2IIUn15QHz+14Sq66H5gis sxxCniqzE6wLOAMrPvHN00c2pZ92bzno3eXtDQ73F9Qj+c295HGsAzAZjO7Y7j3yIerU s72VGJQtAVmxqmLo8P2V0zprwAyLhq+DP3cGSHW/wX35DdHXKNIjzVl1WAFKxTMMDRrh XTN8Ft2+tavB6zMeZ9AHpdkPjL1g7MBM4Pn3hWFNf5fAFz8iClYNVMT+NTa8eXX1RNSx WP2ZFXnOa0ijoueCcWoirbnt2NGHIjzVMbnnuUrFxF+5/xqkMcHhAAyKmHsY9AVMRjPu AbgQ== 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 y2si8456406pgb.422.2018.04.22.07.58.29; Sun, 22 Apr 2018 07:58:43 -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 S1757027AbeDVO4X (ORCPT + 99 others); Sun, 22 Apr 2018 10:56:23 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:56040 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756911AbeDVOOB (ORCPT ); Sun, 22 Apr 2018 10:14:01 -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 6AF23CC6; Sun, 22 Apr 2018 14:14:00 +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.9 73/95] ALSA: hda - New VIA controller suppor no-snoop path Date: Sun, 22 Apr 2018 15:53:42 +0200 Message-Id: <20180422135213.414667899@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135210.432103639@linuxfoundation.org> References: <20180422135210.432103639@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.9-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 @@ -1514,7 +1514,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; }