Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7151179ybi; Mon, 8 Jul 2019 15:40:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzE0hU7oapPHoaM+qvh/HAW5kI2QOwzL5taDiEqXGYIJpe+JZUUs6mxSEDphkeDl3Xm5j3y X-Received: by 2002:a17:90a:c58e:: with SMTP id l14mr28446726pjt.104.1562625636524; Mon, 08 Jul 2019 15:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562625636; cv=none; d=google.com; s=arc-20160816; b=AlvrlcBRD/k1JlcTFby83An9NV0z+tPK9B05XjMER2qR26pmxG4JwuPr7jmHXfVUDT Xyt6igwjMY2k4lNMIqmswIzAJBkoYIMN1k5oefHXT2hjTG9nKzlitaAqhNmmWq4yBK+e 9Q2UNpTQKYDLUxEId2sOupRLf0QLLMDRgzF5ckkHGeUqiwvxKATK4NsgLWGQshurrNan qD4wukkZNcMk9hmIEozJXdO2HCXmZReOqbY2zK1vAD83aYFCQIymv8fbKm/4HGr3+psY fw1uiB5kRN68gpHyWH3Waf9y9+98heB2XepObsOs4ut2CgGykMNZOShKseW0l6mR2mXe 6C/g== 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=uGhD3p0tjo9R+KrNqKPXdfRy5Fmz/JuZLa8uiOF5at3ZReqZ5sLmnaiB9xm1S36Gfl KjLILTn5dcHdRPH9nDb7PFMMdaR4RVHgNlkqsUDnrvUMdawPXdviudLf9x9VGYuOPBW0 S4aiCMxwMvbyXKAMeP6rQ4Y0BQNeFccRp4zJXV6c/rDAPz2sMyJYntkMomEsD0rRFfmL OBj0R/0zLWGmAtSfjU7MYWhW1busDMsYMELyZ1O4QP2AgePSAn3fmvc/WgAd+6a79230 KiAFG5GZFG0cVwCl1xHq8z5yCyKbtkj8uapJYUWRo9XwKZ56syGP5Y4zG81T/PmohlCx j9lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L7oNdHN9; 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 x8si19868685pfa.186.2019.07.08.15.40.22; Mon, 08 Jul 2019 15:40:36 -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=L7oNdHN9; 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 S2390373AbfGHPd3 (ORCPT + 99 others); Mon, 8 Jul 2019 11:33:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:35548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390347AbfGHPd1 (ORCPT ); Mon, 8 Jul 2019 11:33: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 5C94020665; Mon, 8 Jul 2019 15:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562600006; bh=a19q6HBJseF2Wd1PAwtLqB5gVl5woajPfylehEwf/b4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L7oNdHN9Zz2u+TrPIhALXRVQjThrEp9bJ1hYsL6ql84EN2bOMXCACQXOPCxGgT/aK hl2N6Ij+GxTC4yshDCvs+O82Kq817RpTGGc8yfD3rLDj7KHNJqbpxf2Y7GTpZjzlLZ z+Pz+aKs3OFXFpm7AfTVovbpaga6JE05J5EEtDJc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Richard Sailer , Takashi Iwai Subject: [PATCH 5.1 63/96] ALSA: hda/realtek: Add quirks for several Clevo notebook barebones Date: Mon, 8 Jul 2019 17:13:35 +0200 Message-Id: <20190708150529.874500232@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190708150526.234572443@linuxfoundation.org> References: <20190708150526.234572443@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),