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=-9.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 BA418C433E1 for ; Sat, 11 Jul 2020 11:33:11 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4541E2077D for ; Sat, 11 Jul 2020 11:33:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="VFRSxwLR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4541E2077D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AD69F9F6; Sat, 11 Jul 2020 13:32:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AD69F9F6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1594467189; bh=mBp3uEIgNNw3PqBcgbcOvL4iy+tul6o00fvFtV0yUPM=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VFRSxwLR9WNzcbI9IgekMu9wI9p7xTJBvJFeDHHx+ZW3Z296Ig/Rnk53Xz89GmekQ Qp2qt+VOL9Qag4fEEM84Omlp+h37OwwkWgDjsXkmHnHR1oXpQZSniJMDakCCKA1v08 oeBFx766ODH5S3jaSb4UWOmBXCQQOfCnSVaRXlbM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3067FF801F9; Sat, 11 Jul 2020 13:32:19 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E307BF80216; Sat, 11 Jul 2020 13:32:16 +0200 (CEST) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 41033F80084 for ; Sat, 11 Jul 2020 13:32:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 41033F80084 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 56C80ACB8; Sat, 11 Jul 2020 11:32:09 +0000 (UTC) Date: Sat, 11 Jul 2020 13:32:08 +0200 Message-ID: From: Takashi Iwai To: Armas Spann Subject: Re: [PATCH v2] ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G14(G401) series with ALC289 In-Reply-To: <7a0c60c4ba2ae63e369bc1f3e3d1d5e90392d624.camel@retarded.farm> References: <20200711101111.13983-1-zappel@retarded.farm> <7a0c60c4ba2ae63e369bc1f3e3d1d5e90392d624.camel@retarded.farm> 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 Cc: alsa-devel@alsa-project.org, tiwai@suse.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Sat, 11 Jul 2020 12:47:08 +0200, Armas Spann wrote: > > Am Samstag, den 11.07.2020, 12:20 +0200 schrieb Takashi Iwai: > > On Sat, 11 Jul 2020 12:11:11 +0200, > > Armas Spann wrote: > > > Signed-off-by: Armas Spann < > > > zappel@retarded.farm > > > > > > > > Could you give a bit more detail about what you've fixed? > > An empty patch description is always a bad sign. > > > > > > thanks, > > > > Takashi > > > > > --- > > > sound/pci/hda/patch_realtek.c | 9 +++++++++ > > > 1 file changed, 9 insertions(+) > > > > > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > > > index 194ffa8c66ce..ff4f3eeedfd0 100644 > > > --- a/sound/pci/hda/patch_realtek.c > > > +++ b/sound/pci/hda/patch_realtek.c > > > @@ -6152,6 +6152,7 @@ enum { > > > ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS, > > > ALC269VC_FIXUP_ACER_HEADSET_MIC, > > > ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE, > > > + ALC289_FIXUP_ASUS_G401, > > > }; > > > > > > static const struct hda_fixup alc269_fixups[] = { > > > @@ -7359,6 +7360,13 @@ static const struct hda_fixup alc269_fixups[] = { > > > .chained = true, > > > .chain_id = ALC269_FIXUP_HEADSET_MIC > > > }, > > > + [ALC289_FIXUP_ASUS_G401] = { > > > + .type = HDA_FIXUP_PINS, > > > + .v.pins = (const struct hda_pintbl[]) { > > > + { 0x19, 0x03a11020 }, /* headset mic with jack detect */ > > > + { } > > > + }, > > > + }, > > > }; > > > > > > static const struct snd_pci_quirk alc269_fixup_tbl[] = { > > > @@ -7539,6 +7547,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = > > > { > > > SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", > > > ALC255_FIXUP_ASUS_MIC_NO_PRESENCE), > > > SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", > > > ALC269_FIXUP_LIMIT_INT_MIC_BOOST), > > > SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC), > > > + SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", > > > ALC289_FIXUP_ASUS_G401), > > > SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", > > > ALC256_FIXUP_ASUS_AIO_GPIO2), > > > SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC), > > > SND_PCI_QUIRK(0x1043, 0x834a, "ASUS S101", ALC269_FIXUP_STEREO_DMIC), > > > -- > > > 2.27.0 > > > > > Yes, of course. > > Sorry I thought it would have be taken from the commit message when using git > send-email. It is. But I guess you didn't put the texts there, only your Signed-off-by line. > Is it enough to have it in the conversation or must I put it into > the patch. If it has to be inside the patch, where do I have to place the > description? Because I think git send-mail is stripping some parts off(may be > caused due my lack of knowledge about this) The patch description is put in the lines before Signed-off-by. That is, the patch would look like: From: Foo Bar Subject: ALSA: hda: Fix something great This patch fixes blah and blah. More blah. Signed-off-by: Foo Bar -- .... the diff is put below ... And when you commit "This patch fixes..." until "Signed-off-by" lines in your own git commit as the commit log, this will be gracefully produced by git-send-email (or git-format-patch). Takashi