Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp23387534rwd; Sat, 1 Jul 2023 00:34:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlE4EHoaZO4mCrf6LOFQmEonui6aPByl+WIGtFAmG8EHcXDdLcE2iMtJ8LwTKB4ei5n+2OqE X-Received: by 2002:a17:90b:3b88:b0:25b:d4bc:28d4 with SMTP id pc8-20020a17090b3b8800b0025bd4bc28d4mr4171914pjb.40.1688196840969; Sat, 01 Jul 2023 00:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688196840; cv=none; d=google.com; s=arc-20160816; b=AztJVp5zmWa3E9uqLdZVrKI+wSIsNKsQtaJ+3GQxzfi6bzIl2wmciIwYB0KblvEKKq HA80waApPjRLPBJ050dxkJCFHdvlACqd3F7WBDJjKRN42WjpccpHH9OikmIcpvvXWqM2 xC5oUlGAXpdLbYx9gg1QY/M5fHdMQPxV8k+RdlLtrTCJnLw8BF0+79Jgh/L/YKXz0AJK 8nB1K5uvUF2bGAFYjX4W8O5cp22Rc3/CG67yAL9MtXrhoBRORRzGgGLKJr5xi7gbMa6e lH/sgXRm8lYQl1MfHQX0eLoHf89G1p0duPAohRCjZI/371LtE+HJmsrYvDwC5bdUwZng Idhw== 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=dnNfQWAVOrywAuMeEMn4jzfh53L5Vun5bOiBEQTwrO8=; fh=bflLJf6HxOWMkr8lOnxS4Y/0dVr5Zi9dybGxlz4XacQ=; b=l/gCrotj3ilvh7fH0nFgGNqg742UfD+MCWDVzQANLP8Xkn8XWvFLEmECG9FCgOwK27 qCSAGcW0NbQhIofC7hYU4TqDjcuMmBO2UB3quU2uvbuRCcT3kzJhm+waCj5oaABuIHg5 vcKOl6snuDZ14ZF57YHgGh1EaF7QowBIk13AogvG7QVVqxKSu7pSDk+wMvqJecLGBtOJ 9lIALW+K+yXMaWetLfAFzecwiy0RfpJZDLj7/AQD5bp4ubY0ajDnMSMfDOBmUCQ8xSDA vXn7pILezzpRdxnpfsAXBGWvXvLva/270APtDb8+NWcjVOdu/MWo7EEQ2Q3JWiEJ8MFF p2ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=im3P+4Yt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 em22-20020a17090b015600b0026359a2e980si4583695pjb.21.2023.07.01.00.33.49; Sat, 01 Jul 2023 00:34: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=im3P+4Yt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 S229609AbjGAHSh (ORCPT + 99 others); Sat, 1 Jul 2023 03:18:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjGAHSd (ORCPT ); Sat, 1 Jul 2023 03:18:33 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECF85E46 for ; Sat, 1 Jul 2023 00:18:28 -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-out2.suse.de (Postfix) with ESMTPS id BB6EC1F8A3; Sat, 1 Jul 2023 07:18:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1688195906; 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=dnNfQWAVOrywAuMeEMn4jzfh53L5Vun5bOiBEQTwrO8=; b=im3P+4YteuJTJ6i95M5T1lOesMB5D6s3Nqk591CQ8yaf3GuWVe2/E3VshPBuO0Vy4NEfK9 nrrEKZNfsZECeTonuu49yuIg5N27tGxNIRcy+89SyE6OlZUUeHVu55Fsm9xqhCoqfMNs/7 UCdbIw63ogSOLVqJWcf2VJW9DLr9o0M= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1688195906; 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=dnNfQWAVOrywAuMeEMn4jzfh53L5Vun5bOiBEQTwrO8=; b=t8E7qYJ18fwttntVBryL40WRCM+1ebt7fJIE3lvgh3gJM5ElmbVasjMWgKWLIf9Umxl/AH rsYQc1nWzXeXGPBg== 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 8E03A13638; Sat, 1 Jul 2023 07:18:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9fO5IULTn2REcwAAMHmgww (envelope-from ); Sat, 01 Jul 2023 07:18:26 +0000 Date: Sat, 01 Jul 2023 09:18:25 +0200 Message-ID: <87wmzk6qwu.wl-tiwai@suse.de> From: Takashi Iwai To: dengxiang Cc: tiwai@suse.com, yangyingliang@huawei.com, perex@perex.cz, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760 In-Reply-To: <20230701063051.2543538-1-dengxiang@nfschina.com> References: <20230701063051.2543538-1-dengxiang@nfschina.com> 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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Sat, 01 Jul 2023 08:30:51 +0200, dengxiang wrote: > > These models use NSIWAY amplifiers for internal speaker, but cannot put > sound outside from these amplifiers. So eapd verbs are needed to initialize > the amplifiers. They can be added during boot to get working sound out > of internal speaker. > > --- > V3: > - do some adjustment for eapd verbs and keep the capital letters for > ALC_* enums. > v2: > - remove warning about unused variable 'spec'. Looks almost good, but I forgot one more thing: > @@ -11792,6 +11800,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { > SND_PCI_QUIRK(0x1b35, 0x1234, "CZC ET26", ALC662_FIXUP_CZC_ET26), > SND_PCI_QUIRK(0x1b35, 0x2206, "CZC P10T", ALC662_FIXUP_CZC_P10T), > SND_PCI_QUIRK(0x1c6c, 0x1239, "Compaq N14JP6-V2", ALC897_FIXUP_HP_HSMIC_VERB), > + SND_PCI_QUIRK(0x10ec, 0x0897, "UNIS H3C X500s", ALC897_FIXUP_UNIS_H3C_X500S), > > #if 0 > /* Below is a quirk table taken from the old code. The table is sorted in SSID order, so please put at the right position. thanks, Takashi