Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3081252rdb; Wed, 13 Sep 2023 01:02:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF6d/XA6rUIB8P1BQo45N3i6QbDqyX3mKrHeeYaKzyp1/Xv3zkY2IBuZfQf3XNqZlJ1+glj X-Received: by 2002:a05:6808:5c9:b0:3a9:b9eb:998e with SMTP id d9-20020a05680805c900b003a9b9eb998emr1901894oij.51.1694592165699; Wed, 13 Sep 2023 01:02:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694592165; cv=none; d=google.com; s=arc-20160816; b=HDGvdKc86TcFIYFuJzBtxbdgBV2FTS78Kdm3iylG8GrzA6VU/IoTNZzeS47CoDrLcn OD/qCdS/jYrT6hYn3kYa4PHy5j+epZ8Jczest+fORhQq3LDMbRKG/VPTyuzQCjDoD0j7 KbF+5HD0UWcQnAUPf/6ZBCcf3xtaXVUC7lUvwILrae30KpiU8wYGgl/5n0IFtAmqa7Vw exCEtK9iDSPjLbC85AC2w4Mh4K2+/uk4TlvDU/agBbJm52O6tcpQsCSZkMXmZXpSX70j jTLc7UJ7dfI1G1QRgE6iiLHnlPJ+RJuke3i1Z1xzvvyqTyH6acRZTIVqoUAmf4+M37bR KuRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=p4lb+F2bh2igNpCnSkq07Oipd0hH8qTvCHspFSisGXA=; fh=fHO+c4cTAUNpL0QC3dYleybDpOEkmh+BHPef1yJnsMs=; b=BzfBqvOSOH4Hcy+BfKQiMQxheKTod5IeGTbpqZ9us4a2fRoUfqpf1fSLU4RxhuE2sL luNb6aTDvth2PcKPZs7U7moPLhWcyNSpo0g31GtwSeA3gPzKbHHS+V4G6tlYC4i+AljA CrAR9YCEwDspd4OwhzACr9e8iYOvyhQXCLcKM1QlUSK32ItJtMdDWpzYuir1PIgUmMMn cF9vIOVuI4q0hu++60MtPaiLwAFTDw2KRii607iIK5i6uuwWp9wGknNq1i932o9SSdxZ TCdU4aWlulPXv3vET8Y4S/VbW2h8HnQrfLM6Ii43jHyKHhPBT5IkB2hwbrhEdz7G9s8x YVFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id w185-20020a6382c2000000b0057414fa789fsi9344247pgd.503.2023.09.13.01.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:02:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4D76580ACC56; Wed, 13 Sep 2023 01:00:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238715AbjIMIAg (ORCPT + 99 others); Wed, 13 Sep 2023 04:00:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238705AbjIMIAf (ORCPT ); Wed, 13 Sep 2023 04:00:35 -0400 Received: from out28-121.mail.aliyun.com (out28-121.mail.aliyun.com [115.124.28.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4414B1992; Wed, 13 Sep 2023 01:00:30 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.1324828|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.00210616-0.000271328-0.997623;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047206;MF=wangweidong.a@awinic.com;NM=1;PH=DS;RN=28;RT=28;SR=0;TI=SMTPD_---.Ue3l8iB_1694592017; Received: from ubuntu-VirtualBox..(mailfrom:wangweidong.a@awinic.com fp:SMTPD_---.Ue3l8iB_1694592017) by smtp.aliyun-inc.com; Wed, 13 Sep 2023 16:00:26 +0800 From: wangweidong.a@awinic.com To: krzysztof.kozlowski@linaro.org Cc: 13916275206@139.com, alsa-devel@alsa-project.org, arnd@arndb.de, broonie@kernel.org, ckeepax@opensource.cirrus.com, colin.i.king@gmail.com, conor+dt@kernel.org, devicetree@vger.kernel.org, fido_max@inbox.ru, harshit.m.mogalapalli@oracle.com, herve.codina@bootlin.com, krzysztof.kozlowski+dt@linaro.org, lgirdwood@gmail.com, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, liweilei@awinic.com, perex@perex.cz, povik+lin@cutebit.org, rf@opensource.cirrus.com, robh+dt@kernel.org, ryans.lee@analog.com, sebastian.reichel@collabora.com, shumingf@realtek.com, tiwai@suse.com, trix@redhat.com, wangweidong.a@awinic.com, yijiangtao@awinic.com Subject: Re: [PATCH V2 4/5] ASoC: codecs: Change the aw88261 variable name and i2c driver name Date: Wed, 13 Sep 2023 16:00:17 +0800 Message-ID: <20230913080017.364430-1-wangweidong.a@awinic.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <3ee11823-a441-b646-bdd7-aedd3a3a55e5@linaro.org> References: <3ee11823-a441-b646-bdd7-aedd3a3a55e5@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:00:47 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Thank you very much for your review.=0D =0D On 13/09/2023 09:03, krzysztof.kozlowski@linaro.org wrote:=0D > On 12/09/2023 08:58, wangweidong.a@awinic.com wrote:=0D >> From: Weidong Wang =0D >> =0D >> Change "sound-channel" to "awinic,audio-channel"=0D >> Change "aw88261_smartpa" to "aw88261"=0D =0D I'll add "This change is for consistency with yaml properties" to the commi= t message.=0D =0D >> - prof_name =3D aw88261_dev_get_prof_name(aw88261->aw_pa, count);=0D >> - if (!prof_name) {=0D >> + ret =3D aw88261_dev_get_prof_name(aw88261->aw_pa, count, &prof_name);= =0D >> + if (ret) {=0D >> strscpy(uinfo->value.enumerated.name, "null",=0D >> strlen("null") + 1);=0D >> return 0;=0D >> @@ -1189,7 +1190,7 @@ static void aw88261_parse_channel_dt(struct aw8826= 1 *aw88261)=0D >> u32 channel_value =3D AW88261_DEV_DEFAULT_CH;=0D >> u32 sync_enable =3D false;=0D >> =0D >> - of_property_read_u32(np, "sound-channel", &channel_value);=0D >> + of_property_read_u32(np, "awinic,audio-channel", &channel_value);=0D >> of_property_read_u32(np, "sync-flag", &sync_enable);=0D =0D > What about this?=0D =0D This change is to be consistent with the name in the yaml file=0D =0D Best regards,=0D Weidong Wang=