Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2760085rwi; Fri, 28 Oct 2022 10:51:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7oVmP0+vOsJkUvCCRXKwHfJ87USG+7nDMNtwwRk+1WN+VY6NPD6TtC3E/9Ogw+FVwIEM7Y X-Received: by 2002:a17:902:c20c:b0:186:b3d0:f77 with SMTP id 12-20020a170902c20c00b00186b3d00f77mr187837pll.26.1666979502081; Fri, 28 Oct 2022 10:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666979502; cv=none; d=google.com; s=arc-20160816; b=Y5myFsSCrkDx62dFx02+vK+5u8FOPBUebjp3Gr4ibMov/EXJd2wIldhR6bE6dmac1N DoZQ2hqjQuvxFSILJi9418nBeAGHaTR3BSuqEXOefLI4od4B56Z4e05h1qy1Z73p9dTT ixDGQlTD7A5+cjqL9DY7oHQE+9Br4RhJVVq7zMCycflkGfAUZZ0jBOCcmNNHvid5pWHT f8aPaH5L1A574NUI6t4i8CYJKwf7NEnjNEMVuGtGQejmhyD++P/mcAchH8wgfAu2VgsC R5uL6FVh4vVIyg9g0a6dj3TIjcBePWHIM8vZ2JP7dbww9ghXJ0hFVwHgit8kcJeWoGCK 26sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=JFuZCHp6RPG0OZ+ZcxxiWhSMU9E34XF2yS0NNOUPKoM=; b=ydglFY0Lt4KWu8yB4WSMKW8hlv+YdeGl6kPZgGAz/3sB9aitja/RwlvftpM5iZR1nN 4S5MwG/X5KtTmAdvZANtTFHWYPhto/RTIwAUily8qDXUv6Ia7jlZJFB6yq9k+Nvawhn9 nd5Fnipx+3X0tL2lSziJ1duMnnt0L8rxebfX5THU1d4DhgB4B5NDGMdk+snRRncGeH2Y JButrmDbKRW+3TWymiHF2+SXLwtO70rNpfrSz7NBc6rTPmXrlXZK25P8qC8KX1sK51Vi 0rmPlaNNVf3dCOUXSdxGdlmgrZ4BAmfBT3ycYGfQm73M5ms+me3HZeBBJ9F0Qhk8kqvH iy9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fqPTWnUu; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np11-20020a17090b4c4b00b002136a8424f3si8426118pjb.184.2022.10.28.10.51.28; Fri, 28 Oct 2022 10:51:42 -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=@google.com header.s=20210112 header.b=fqPTWnUu; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230305AbiJ1Qwv (ORCPT + 99 others); Fri, 28 Oct 2022 12:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbiJ1Qw1 (ORCPT ); Fri, 28 Oct 2022 12:52:27 -0400 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A851AA262 for ; Fri, 28 Oct 2022 09:52:16 -0700 (PDT) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-3701a0681daso17671407b3.4 for ; Fri, 28 Oct 2022 09:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JFuZCHp6RPG0OZ+ZcxxiWhSMU9E34XF2yS0NNOUPKoM=; b=fqPTWnUuuck0bAxRjaW+t2+TNbmZRCzTB/mgIBtEByZSJ5rEB0x+gt6p8YULIDMmIo QJd/YrVYMoP7ZmrNzykTvlYWJUjGde5jgd0lm+NgNhmAwMUNAjRhhWb0JCULKjglLPfI wSGtrvHKTq7jeAxq42+CL6FCbx0fKEugliZOo5bRuV1bL5tVHZkgBVdVH6E3A9TidzSc hcpyvVGDtcA7tJYS2ah5C5rRuFFhvszme2WH8clxRaplmpfCF3VL+fdfZ2s2HLRWl+HA eL0/fWb6+IjvzUNetxTZuxNR0qANnOSnlAMm0ogoBoTpJZgN7DGrCjlPJ1gI0B2moZLk 7clg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JFuZCHp6RPG0OZ+ZcxxiWhSMU9E34XF2yS0NNOUPKoM=; b=ndcaM7166TRvssvKgC1Y/MTXr6ifTBY0mRcw5ThtqYPhIOTiyd2Q76e7KGj3aWAMil iMhPL7OrJ6VrU5pNzxNqIruWnpaFYb8WEjIXVX9ASsHKMZzgyFayDAYyy+7eb0I281t1 GlZVaSTic+9AQGH5y+kDDffUXxKI9eZ++Np/O/p9o0OqNiGqSEprTviixSGGHy6m/Qr0 J3nC0ZIBfM84L0BZWaHof73f8bKma04VFqUw4QOr6L3G4pY/vDKP9cHnDlgigP1A4VNb xhJZS5E1UBweLNw/5oOZCFDple9Dq6tfNp9uSc50tNBAKSa4QlcVY4d/jFZStun21NRi 2rxQ== X-Gm-Message-State: ACrzQf3FbaQZ9sGaZrJlBNtB8lqsbAxVm42PtUWvU5/OAOUWB6g25feC +zwiqLsA7Lj4yKJMryep2zIaWFJ2X04MnjsPQauQsQ== X-Received: by 2002:a81:4f89:0:b0:36a:f09f:73fc with SMTP id d131-20020a814f89000000b0036af09f73fcmr312625ywb.487.1666975935785; Fri, 28 Oct 2022 09:52:15 -0700 (PDT) MIME-Version: 1.0 References: <20221028160733.1390230-1-ajye_huang@compal.corp-partner.google.com> <20221028160733.1390230-3-ajye_huang@compal.corp-partner.google.com> In-Reply-To: From: Ajye Huang Date: Sat, 29 Oct 2022 00:52:09 +0800 Message-ID: Subject: Re: [PATCH v1 2/2] ASoC: mediatek: mt8186-rt5682: Modify machine driver for two DMICs case To: Mark Brown Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Krzysztof Kozlowski , Rob Herring , linux-mediatek@lists.infradead.org, "chunxu . li" , Takashi Iwai , Jaroslav Kysela , Jiaxin Yu , Matthias Brugger , AngeloGioacchino Del Regno , =?UTF-8?B?TsOtY29sYXMgRiAuIFIgLiBBIC4gUHJhZG8=?= , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS 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 Hi Mark Brown, On Sat, Oct 29, 2022 at 12:17 AM Mark Brown wrote: > Also do we really need the of_property_read_bool() there? I'd have > expected that devm_gpiod_get_optional() would be handling that for us. You are right, it is unnecessary to use of_property_read_bool() there , I will remove and send the v2 version, thank you.