Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC11DC6379F for ; Mon, 6 Feb 2023 08:44:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229632AbjBFIn4 (ORCPT ); Mon, 6 Feb 2023 03:43:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230194AbjBFInP (ORCPT ); Mon, 6 Feb 2023 03:43:15 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFC304495 for ; Mon, 6 Feb 2023 00:42:45 -0800 (PST) Received: from dggpemm100007.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4P9KTz41dKzJsJP; Mon, 6 Feb 2023 16:40:55 +0800 (CST) Received: from [10.174.178.174] (10.174.178.174) by dggpemm100007.china.huawei.com (7.185.36.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 6 Feb 2023 16:42:34 +0800 Subject: Re: [PATCH] ASoC: codecs: es8326: Fix DTS properties reading To: Alexey Firago , CC: , , , , References: <20230204195106.46539-1-a.firago@yadro.com> From: Yang Yingliang Message-ID: <96c99731-a5e9-778d-24f5-cb42a5c2d840@huawei.com> Date: Mon, 6 Feb 2023 16:42:34 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20230204195106.46539-1-a.firago@yadro.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.174.178.174] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm100007.china.huawei.com (7.185.36.116) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2023/2/5 3:51, Alexey Firago wrote: > Seems like properties parsing and reading was copy-pasted, > so "everest,interrupt-src" and "everest,interrupt-clk" are saved into > the es8326->jack_pol variable. This might lead to wrong settings > being saved into the reg 57 (ES8326_HP_DET). > > Fix this by using proper variables while reading properties. > > Signed-off-by: Alexey Firago Fix tag is needed, it should be 5c439937775d ("ASoC: codecs: add support for ES8326") Reviewed-by: Yang Yingliang