Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp808883pxu; Wed, 6 Jan 2021 05:10:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwh7YlOCqS+lAEzYJ+dvR9lzPPOTOe/E/ML/ZjV3QaKVDbo/PSTfAzi9HJHX4py9E4fInIy X-Received: by 2002:a17:906:4e53:: with SMTP id g19mr2753742ejw.454.1609938636996; Wed, 06 Jan 2021 05:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609938636; cv=none; d=google.com; s=arc-20160816; b=XbC8NTeiCRzUdLTFrZYKv2Qtp4rYAMphyE2bzi+IyvpZHOPp4WqmoHdVkXSf1zehO1 TAcWd1yccJSEp+b2AQY1x5chjrIUFYfCWWEheJSHPboOKRnnf2Zzu/4eo/8OJA6/emsz QOxUdotroI7cj4xbTfWDEcrH/kICN3gzYTR74Rv1MZxdLMb1AdEixTQ/W3Qvy36O7yJs K0+kp7rVnBFCYo2IL+4Wmh0hb9G9gAgQjvXUtKu5dtfsKbt6WGsFZuttbmoZfYHaqHXA SDZevXR/NwENEHlyyIe+VUlEUUBan3v9dl57+j+YV+F4icYuFG1rEmP/SwKRZOUBLzme 1BNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Y2CR6NkIxjJ8z645D9pkddCgGPZduS6HB3pgTTs/TWA=; b=Vt7q14Y1BQCbt22Td48L/EWC2IX3CAIJfCJoBtsBEt0ZquEiPLXyfV5sdwxyoL8KSL yT6Ym1Y4eeJiv/o1I+bH+2CyocMr6wpxz9pVRTfCu7ItPHGGLaATW4PK/HccBwshEX9Y odT1sYmpjVoGaIib+QJgOurPsPpOWrH3h9675BfFJRwJ6ffCeWugZ34uLrKPxGvPs84R BVIdsuT8o75qwv0g7ED6DrMEPtY1a09J2lepgEcLlkhAy9SxylLfbTS0MqKCM8YJjv3d 74Q2WOcoRLVRjZogj3Isw+2omPlZrAMEjuyNWtius6DtCpAnJt57u5zZP95NIqFjQ5fL AVZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm26si907440edb.528.2021.01.06.05.10.09; Wed, 06 Jan 2021 05:10:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726308AbhAFNHH (ORCPT + 99 others); Wed, 6 Jan 2021 08:07:07 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:35516 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbhAFNHH (ORCPT ); Wed, 6 Jan 2021 08:07:07 -0500 Received: from 61-220-137-34.hinet-ip.hinet.net ([61.220.137.34] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kx8Vm-0005Pi-Ul; Wed, 06 Jan 2021 13:06:04 +0000 From: Jeremy Szu To: tiwai@suse.com Cc: Jeremy Szu , Jaroslav Kysela , Kailang Yang , Jian-Hong Pan , Kai-Heng Feng , Hui Wang , Huacai Chen , Thomas Hebb , alsa-devel@alsa-project.org (moderated list:SOUND), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machines Date: Wed, 6 Jan 2021 21:05:46 +0800 Message-Id: <20210106130549.100532-1-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * The HP ZBook Fury 15/17 G7 Mobile Workstation are using ALC285 codec which is using 0x04 to control mute LED and 0x01 to control micmute LED. * The right channel speaker is no sound and it needs to expose GPIO1 for initialing AMP. Add quirks to support them. Signed-off-by: Jeremy Szu --- sound/pci/hda/patch_realtek.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3c1d2a3fb1a4..dd82ff2bd5d6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7970,6 +7970,10 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8760, "HP", ALC285_FIXUP_HP_MUTE_LED), SND_PCI_QUIRK(0x103c, 0x877a, "HP", ALC285_FIXUP_HP_MUTE_LED), SND_PCI_QUIRK(0x103c, 0x877d, "HP", ALC236_FIXUP_HP_MUTE_LED), + SND_PCI_QUIRK(0x103c, 0x8780, "HP ZBook Fury 17 G7 Mobile Workstation", + ALC285_FIXUP_HP_GPIO_AMP_INIT), + SND_PCI_QUIRK(0x103c, 0x8783, "HP ZBook Fury 15 G7 Mobile Workstation", + ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x87c8, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), -- 2.29.2