Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7150063ybi; Mon, 8 Jul 2019 15:39:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIaz0F2NnEjZ5sjizBSoKoX2B6IyqrJJ34SmszR3CpA7iU6f2h9gdLHZ50lcuBstBvM/bt X-Received: by 2002:a17:902:bc83:: with SMTP id bb3mr28442241plb.56.1562625544913; Mon, 08 Jul 2019 15:39:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625544; cv=none; d=google.com; s=arc-20160816; b=gSd0978sadRvK8ugLnsQE4eAMfPesGSunP/ClxnLR/UwQfztq1frYJ+14CjErHA5Ai UfNcpxCf2I8Cq3oK/MItbnpf1jba84SasH3O0cV0oDQE2s9gmjRf2N/8boGaDGBxYzK6 SnVyBg+1NwswMGZt07GkzJzbYUdOAR+vBRy/XVkKEutnn9cVa4miJyiQ0j9wgjoyOD7h FgEyeQydl4FEGhyPBeEF56rHdb4Beg8Cq69JYkpvz7SNYjhGnwdW7XDjoz9P9HOAlcho jqrirN2DnaygDD0j5r20GAPKFgvW2NXc9HTNDit2djnXC1bdr1uainNc2ceXcSOjmgS4 cw1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=XWsfmOiriA1x+2EaPgKhRO7jfJrACz4ldcTFqav9qyQ=; b=eSwun9Q80JaqW6ftE/0GkwOM9+a3AqEKX+kwoU0M/6d6muu5TqlUiHnn6GGjfcyiZT v4B93Yf1TBK2YhNijo+XwLLao/kQx1jRlM56o+j/59uYHpH6pDeKNsYuO6aXGjPheRTx 24LF1a/Mlv7yClVb164a5frY//jDRNn6ewNDiL8dVROudqNlGVrgTpBJmHFa5Lyoc1k3 KFZZGcqbVYwjHA73Tsj7RCSR59ggiPtB4V39F3jyOAHSFCvSSd7LG672g5e44ryq/aLn gfEFfBia1OfHb7qrSU8nrLPKed/6Eog5Y1KlH+l7DiAESyyRku1jptPlU3v6jjJODLzb X5BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SuX5QP2H; 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 z14si710749pju.64.2019.07.08.15.38.50; Mon, 08 Jul 2019 15:39:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=SuX5QP2H; 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 S2389641AbfGHPa2 (ORCPT + 99 others); Mon, 8 Jul 2019 11:30:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:59446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389558AbfGHPa1 (ORCPT ); Mon, 8 Jul 2019 11:30:27 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C724120645; Mon, 8 Jul 2019 15:30:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562599826; bh=a19q6HBJseF2Wd1PAwtLqB5gVl5woajPfylehEwf/b4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SuX5QP2HCSfgQltgomT891aOcxR58l4NZV6RTgWgyMsw5+Hoz24mPNP/2pzIq7oD7 o40KjyvPUH4aL2O3XGXZPJ4y4uAkYdY1vtgTVqCxBUNjzhXMEPco5jopR05hBsV/Gd PA0Oex7DJge97U/OvpXRQcclmyLnwYn0NpLL5m0w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Richard Sailer , Takashi Iwai Subject: [PATCH 4.19 48/90] ALSA: hda/realtek: Add quirks for several Clevo notebook barebones Date: Mon, 8 Jul 2019 17:13:15 +0200 Message-Id: <20190708150524.985403927@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150521.829733162@linuxfoundation.org> References: <20190708150521.829733162@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Sailer commit 503d90b30602a3295978e46d844ccc8167400fe6 upstream. This adds 4 SND_PCI_QUIRK(...) lines for several barebone models of the ODM Clevo. The model names are written in regex syntax to describe/match all clevo models that are similar enough and use the same PCI SSID that this fixup works for them. Additionally the lines regarding SSID 0x96e1 and 0x97e1 didn't fix audio for the all our Clevo notebooks using these SSIDs (models Clevo P960* and P970*) since ALC1220_FIXP_CLEVO_PB51ED_PINS swapped pins that are not necesarry to be swapped. This patch initiates ALC1220_FIXUP_CLEVO_P950 instead for these model and fixes the audio. Fixes: 80690a276f44 ("ALSA: hda/realtek - Add quirk for Tuxedo XC 1509") Signed-off-by: Richard Sailer Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -2443,9 +2443,10 @@ static const struct snd_pci_quirk alc882 SND_PCI_QUIRK(0x1558, 0x9501, "Clevo P950HR", ALC1220_FIXUP_CLEVO_P950), SND_PCI_QUIRK(0x1558, 0x95e1, "Clevo P95xER", ALC1220_FIXUP_CLEVO_P950), SND_PCI_QUIRK(0x1558, 0x95e2, "Clevo P950ER", ALC1220_FIXUP_CLEVO_P950), - SND_PCI_QUIRK(0x1558, 0x96e1, "System76 Oryx Pro (oryp5)", ALC1220_FIXUP_CLEVO_PB51ED_PINS), - SND_PCI_QUIRK(0x1558, 0x97e1, "System76 Oryx Pro (oryp5)", ALC1220_FIXUP_CLEVO_PB51ED_PINS), - SND_PCI_QUIRK(0x1558, 0x65d1, "Tuxedo Book XC1509", ALC1220_FIXUP_CLEVO_PB51ED_PINS), + SND_PCI_QUIRK(0x1558, 0x96e1, "Clevo P960[ER][CDFN]-K", ALC1220_FIXUP_CLEVO_P950), + SND_PCI_QUIRK(0x1558, 0x97e1, "Clevo P970[ER][CDFN]", ALC1220_FIXUP_CLEVO_P950), + SND_PCI_QUIRK(0x1558, 0x65d1, "Clevo PB51[ER][CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS), + SND_PCI_QUIRK(0x1558, 0x67d1, "Clevo PB71[ER][CDF]", ALC1220_FIXUP_CLEVO_PB51ED_PINS), SND_PCI_QUIRK_VENDOR(0x1558, "Clevo laptop", ALC882_FIXUP_EAPD), SND_PCI_QUIRK(0x161f, 0x2054, "Medion laptop", ALC883_FIXUP_EAPD), SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Y530", ALC882_FIXUP_LENOVO_Y530),