Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp29852rwe; Thu, 25 Aug 2022 23:20:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR6p8BHBDEKUBFjyiFJuAIYN13lAaU2lPFDSR6MF5ce0vxXT1qZj51ZQ6mAbntihg4saf1cH X-Received: by 2002:a17:906:4758:b0:73d:d3b9:b268 with SMTP id j24-20020a170906475800b0073dd3b9b268mr3795668ejs.720.1661494800075; Thu, 25 Aug 2022 23:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661494800; cv=none; d=google.com; s=arc-20160816; b=c9y4J/glTk7v5XxN7DsCl61ccI53s/FF2iOyMmepvxQZqw6u+ZoawG4O/Sc/6s9Ccp HpNSKfQDLE1l0Tl8sNzo7zlyGUuKloRhxtgKhAXxWFhpmkVuDkDG7uAClIwF9z6EFIGq GSxzkPYXfTDJT+8dRmY9glIQpWW/9sIwflFfJf1Ztd0wq9TR83HDKX1JCf6foJSloZRW S+sEUPR52OPr1810f4pqSOyYreWTBnX0Dm8OKgBmXm9yrEb6DWLpB7xnrEylkV1u6nFs /yvftbITnx87y9/aUoSVg7z7kEz55Z8XvXf4KU3xbxob/ibXINIDFsiCEFl9VUdUqdJq ycwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=xCXozoclkHh9HB5LH7ku4LFTxjoXrdn4pmU+Orsqo04=; b=QwMLe7SODAA7wX+4kRqitXfH9dJT4/cyXMgIAA6djUHhuuPXm7Ocjghf82Wr32m+ph kumePDkdd7GtLvhZ/nBUC+ieBlOCnLzW6Cg4SfgpcJ3i1hy0N0NGmkbEjYBmPsvajWVB Nb/qPNOUp92wkRxowLWmPYdWaxfhTnhBYTdbiX51KN5tmNWe6Z8BAGdiBCd0sjkfHR5P e8zgicXu9uM07j5vfhIuVT+7S/SMl7nOEW27DUxVe+BROhvBhtlnon9n33FWshD1qKds lUJPQ0+lORkYwyohG/nXwFjvRtzf+g+IGBmXYrcvS2H6b6bs68QUUgdHMEiOjUx7lrWF UiZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="EKQR/LjF"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=yvKx+Ki+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga41-20020a1709070c2900b007316cc1113asi722370ejc.910.2022.08.25.23.19.34; Thu, 25 Aug 2022 23:20:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="EKQR/LjF"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=yvKx+Ki+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242277AbiHZGI1 (ORCPT + 99 others); Fri, 26 Aug 2022 02:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbiHZGIY (ORCPT ); Fri, 26 Aug 2022 02:08:24 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E0EBC4818 for ; Thu, 25 Aug 2022 23:08:24 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id BB92D227C0; Fri, 26 Aug 2022 06:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1661494102; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xCXozoclkHh9HB5LH7ku4LFTxjoXrdn4pmU+Orsqo04=; b=EKQR/LjFvRTS8mCIG1M0v8+YYMhDu4/W/mic2GCljX2ykPKCT494RauNCIX7AXkPterkqi +mfHJ5SWq1fS1kzXet32LmT+R9VC7StyBrBttSMdQymp361EY8rmI1CrNujCLN7UJiGtF5 MY/Fbt2/beGi+DNwh2NASjzYnozVcCQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1661494102; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xCXozoclkHh9HB5LH7ku4LFTxjoXrdn4pmU+Orsqo04=; b=yvKx+Ki+2f68SPUkQNYuVrY59Ou7UY9UY+nGY2CfKLda93y57TPeXdgo9zEDBJYva2iH2V eZuv1Lz/C1kgEeBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 933F113A7E; Fri, 26 Aug 2022 06:08:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id S644I1ZjCGMvbgAAMHmgww (envelope-from ); Fri, 26 Aug 2022 06:08:22 +0000 Date: Fri, 26 Aug 2022 08:08:21 +0200 Message-ID: <87a67rlep6.wl-tiwai@suse.de> From: Takashi Iwai To: "Luke D. Jones" Cc: tiwai@suse.com, kai.heng.feng@canonical.com, andy.chi@canonical.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] sound: realtek: Add pincfg for ASUS G533Z In-Reply-To: <20220825220130.331371-1-luke@ljones.dev> References: <20220825220130.331371-1-luke@ljones.dev> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Aug 2022 00:01:29 +0200, Luke D. Jones wrote: > > Fixes up the pincfg for ASUS ROG Strix G15 (G533Z) laptop. > > Signed-off-by: Luke D. Jones Just minor nitpicking: > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -5828,7 +5828,7 @@ static void alc_fixup_headset_mode_alc255_no_hp_mic(struct hda_codec *codec, > struct alc_spec *spec = codec->spec; > spec->parse_flags |= HDA_PINCFG_HEADSET_MIC; > alc255_set_default_jack_type(codec); > - } > + } > else > alc_fixup_headset_mode(codec, fix, action); > } Please avoid touching unnecessary parts. > @@ -8363,6 +8364,17 @@ static const struct hda_fixup alc269_fixups[] = { > .type = HDA_FIXUP_FUNC, > .v.func = alc294_fixup_gu502_hp, > }, > + [ALC285_FIXUP_ASUS_G533Z_PINS] = { > + .type = HDA_FIXUP_PINS, > + .v.pins = (const struct hda_pintbl[]) { > + { 0x14, 0x90170120 }, > + { 0x19, 0x03A11050 }, /* front HP mic */ > + { 0x1B, 0x03A11C30 }, /* rear external mic */ > + { 0x21, 0x03211420 }, /* front HP out */ We prefer the lower letters for hex numbers. > + { } > + }, > + .chained = false, This is initialization superfluous, please drop. Last but not least, the subject prefix should be rather "ALSA:" instead of "sound:". The same applied to the second patch. Could you try to address those and resubmit as v2? thanks, Takashi