Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2194506iof; Tue, 7 Jun 2022 22:49:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0N5A9dL7aaY78e8xKGryLotEFWW95/ZhrBioDRWRloNwCCMltPCeuQQmhHaSOsbLWtjjA X-Received: by 2002:a17:90b:3b4b:b0:1e8:434c:5ab1 with SMTP id ot11-20020a17090b3b4b00b001e8434c5ab1mr26176891pjb.129.1654667378049; Tue, 07 Jun 2022 22:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654667378; cv=none; d=google.com; s=arc-20160816; b=Dwy+A7VNDItbpmDb1pI9a1kAZvCO4mjgypqYaSpzmXRyotYVthbKFGRNA8p2AvcZlP +FjvdvILhCJIuSmBm9eW8Q8mw8VHi+8VZWwmSHJFxrIrZ9FRj/2m1koyiQG4nVVnGaKl WTvMkuopcmfx+oczJ3IhyJyKwm3grFWal4k7wFhrK0s2ECsRNJZd6XHyp7Ln9i6jyNP+ 3tsl/D518NWziSJibNBoGC4xjSjlFgrvqF9fN3kWDa6ZRb6/jrd/soR16rowfTxA63e+ VF91zQ5JK6fL88Kf8lHNT/sDw+UbmyIge0xSFBhuDKoUJgEwVHjwJQhhrcxgL6XfLbwV b/PA== 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=TfFcXf1hj12Nx1LfqrKz8MfMIvOtfXkX8OrqFYBpYmM=; b=KHafgxApvZJ/eQ0kpALjMN5N2YrLAbeVENHl7qCX2yGGGgLL6ZdcqXxwQb2cAh0K4+ OydWvHI/pEzNekNCL2Yxz6YlajkirSzuu4p2tNsxhm3WYOjxVoLT57h+1ATALgSA9S6M Ws+uHtz5yoIvybGTSZ7/OBJEYGwki0z5V8d9dP14ugYMYODWfpQ/wV4m+fi4UIbYDyOG t8Xbwrz9Tw5BYusmGAyapoD/qKt0wtoApLyEsdwtuV8IRuJE65JauOEgiyDOfxWcDr+f KeqTZQmyaJteShCdaoV7frdJZxFUUy8deh1vj6vTY3vU77UjWw20j/wkFN0ugITuuUZX X+UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mho0hgki; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w2-20020a170902904200b0016228c736afsi24888157plz.511.2022.06.07.22.49.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:49:38 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mho0hgki; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A0AD51CC600; Tue, 7 Jun 2022 22:16:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239036AbiFGJJu (ORCPT + 99 others); Tue, 7 Jun 2022 05:09:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238762AbiFGJJt (ORCPT ); Tue, 7 Jun 2022 05:09:49 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20198369C3 for ; Tue, 7 Jun 2022 02:09:47 -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 A650821B2E; Tue, 7 Jun 2022 09:09:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1654592986; 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=TfFcXf1hj12Nx1LfqrKz8MfMIvOtfXkX8OrqFYBpYmM=; b=mho0hgkiRJA0lfEjYewH+qVjOj3P74ECQILEf8ARbFxHVTUrrrT2EnXRaBohsklSqsvrbV A72g3Nfg1EkLoj2AvRnjd0sMVz3zoV17k7DmN3b89J19hOMohfeLFcl0f4gJsocty6uiO4 ljLX3j8jiGPm2EeCiR7ZetTrA2mUmEo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1654592986; 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=TfFcXf1hj12Nx1LfqrKz8MfMIvOtfXkX8OrqFYBpYmM=; b=JMa2rdqtXYBKH+Jzio6Snb4tg13j5QI2GRkJzUZJkXNa40fKaOreE3kaqf+WnHpvQTamOE OXz7Y4cZi8Cw5mCQ== 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 6A2B213638; Tue, 7 Jun 2022 09:09:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id TeESGdoVn2K2KgAAMHmgww (envelope-from ); Tue, 07 Jun 2022 09:09:46 +0000 Date: Tue, 07 Jun 2022 11:09:45 +0200 Message-ID: <87h74won52.wl-tiwai@suse.de> From: Takashi Iwai To: huangwenhui Cc: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, kailang@realtek.com, tanureal@opensource.cirrus.com, jeremy.szu@canonical.com, linux-kernel@vger.kernel.org, wse@tuxedocomputers.com, hui.wang@canonical.com, sami@loone.fi, cam@neo-zeon.de Subject: Re: [PATCH] ALSA: hda/realtek - Add HW8326 support In-Reply-To: <20220607084109.29120-1-huangwenhuia@uniontech.com> References: <20220607084109.29120-1-huangwenhuia@uniontech.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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, 07 Jun 2022 10:41:09 +0200, huangwenhui wrote: > > Added the support of new Huawei codec HW8326. > It'd be appreciated if you describe about the hardware a bit more. It looks like a compatible chip with some other Realtek codecs (ALC256?). > @@ -11479,6 +11492,7 @@ static const struct hda_device_id snd_hda_id_realtek[] = { > HDA_CODEC_ENTRY(0x10ec0236, "ALC236", patch_alc269), > HDA_CODEC_ENTRY(0x10ec0245, "ALC245", patch_alc269), > HDA_CODEC_ENTRY(0x10ec0255, "ALC255", patch_alc269), > + HDA_CODEC_ENTRY(0x19e58326, "HW8326", patch_alc269), > HDA_CODEC_ENTRY(0x10ec0256, "ALC256", patch_alc269), > HDA_CODEC_ENTRY(0x10ec0257, "ALC257", patch_alc269), > HDA_CODEC_ENTRY(0x10ec0260, "ALC260", patch_alc260), This table is sorted in the codec ID order. Please put at the appropriate place (at the last), instead. thanks, Takashi