Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B485C4361A for ; Fri, 4 Dec 2020 15:51:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CFBE422C97 for ; Fri, 4 Dec 2020 15:51:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727154AbgLDPvT (ORCPT ); Fri, 4 Dec 2020 10:51:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:46150 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbgLDPvS (ORCPT ); Fri, 4 Dec 2020 10:51:18 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EF969AC9A; Fri, 4 Dec 2020 15:50:37 +0000 (UTC) Date: Fri, 04 Dec 2020 16:50:37 +0100 Message-ID: From: Takashi Iwai To: Hui Wang Cc: alsa-devel@alsa-project.org, stable@vger.kernel.org Subject: Re: [PATCH] ALSA: hda/realtek: make bass spk volume adjustable on a yoga laptop In-Reply-To: <20201204123459.71474-1-hui.wang@canonical.com> References: <20201204123459.71474-1-hui.wang@canonical.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, 04 Dec 2020 13:34:59 +0100, Hui Wang wrote: > > This also make the headset button work on this machine. Hm, the description isn't clearly related with the code changes. Could you elaborate a bit more? The functions you changed are used commonly, so it needs clarification. thanks, Takashi > > Cc: > Signed-off-by: Hui Wang > --- > sound/pci/hda/patch_realtek.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index 8616c5624870..5a905fa1b33a 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -3104,6 +3104,7 @@ static void alc_disable_headset_jack_key(struct hda_codec *codec) > case 0x10ec0215: > case 0x10ec0225: > case 0x10ec0285: > + case 0x10ec0287: > case 0x10ec0295: > case 0x10ec0289: > case 0x10ec0299: > @@ -3130,6 +3131,7 @@ static void alc_enable_headset_jack_key(struct hda_codec *codec) > case 0x10ec0215: > case 0x10ec0225: > case 0x10ec0285: > + case 0x10ec0287: > case 0x10ec0295: > case 0x10ec0289: > case 0x10ec0299: > @@ -8578,6 +8580,11 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { > {0x14, 0x90170110}, > {0x19, 0x04a11040}, > {0x21, 0x04211020}), > + SND_HDA_PIN_QUIRK(0x10ec0287, 0x17aa, "Lenovo", ALC285_FIXUP_THINKPAD_HEADSET_JACK, > + {0x14, 0x90170110}, > + {0x17, 0x90170111}, > + {0x19, 0x03a11030}, > + {0x21, 0x03211020}), > SND_HDA_PIN_QUIRK(0x10ec0286, 0x1025, "Acer", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE, > {0x12, 0x90a60130}, > {0x17, 0x90170110}, > -- > 2.25.1 >