Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1617004rdb; Mon, 2 Oct 2023 15:45:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5CyUFmqNui72MxrcPsql3n2jV25uoFNo3d2mQS/2AUjOzBksI3xsiaExxASSSaCpikCft X-Received: by 2002:a05:6358:342a:b0:12b:e47a:8191 with SMTP id h42-20020a056358342a00b0012be47a8191mr10234765rwd.16.1696286748580; Mon, 02 Oct 2023 15:45:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696286748; cv=none; d=google.com; s=arc-20160816; b=kGC1ICkExTtAiWQcpNKvs/9YPsBQNNI4Y2YtReFCsxAt0+4RAtm0QVIV7z7OzIQN3e 9Wyrz1Obm0ifzC23IpYUUbQ2Q3B2kwgbG2F/iQ2cSKgolYdloeRvEB9+HFCLCTodojp3 f9VLKW4rtYEAoj5taP2+M2z6f7q0uf+YwkO5l3gYzaNw2oVRT7IIZ7yBhFKqKMAO0S4h FXJVTAjytXWqiEGgeDkycTZAjGRXS0JmB+xdLSow1gK8pI7t/ZCSYDBOMqIeljzIUm4P 2wbvCM7MbvmDLfZvI5lDqZ8URSxWSmBtzVacgDdsgpZUZ4PuxZteoLuj/fFm4jbCkEBy xIWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=QzzKZoEmdCGE7S1RXteRn52a8Z5fDrSNy3okgZBM+pc=; fh=Qan2Z3BI0tJcCY/Ql+WJILj3Z4L+0uTdT2YQKN6DEPk=; b=xkINDIlezp+Iyo0SSazPWvGJC87R6vJVPCZvQdV+uuS6HvnXUlim0l8Vvd+1DaBbq5 TJgL2kquu2MzUnexKrq3jMpwq5BG5fQ+GQtTRfD/alngmGTXzFw97l2P+hxIWQ7EOedc 5rumQ7TUzugQacO3aqS90T+ZWF3MGRKMZGsmHYA7es7YoyANinPEtbAp+gMhlSjWRlhW tSQhUnpqPxZTBVoSXdgY/pmzXPFNxlqcaqKsbxFlC9nzwnqHxpR/BV4l8ymDWIwmKFTx iEYy5ewX23RqWM0GIZtWOV7+qymlXx8XTUoLdLHQnyJXFggQXigEVktY+YeCXPOWJSUi z3dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VDsZXbGM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id i73-20020a636d4c000000b00563df2ba23fsi27629798pgc.845.2023.10.02.15.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 15:45:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VDsZXbGM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CF3D18092C9B; Mon, 2 Oct 2023 13:08:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235289AbjJBUH5 (ORCPT + 99 others); Mon, 2 Oct 2023 16:07:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbjJBUH4 (ORCPT ); Mon, 2 Oct 2023 16:07:56 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C818793; Mon, 2 Oct 2023 13:07:52 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c2907ff9fcso1559921fa.1; Mon, 02 Oct 2023 13:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696277271; x=1696882071; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QzzKZoEmdCGE7S1RXteRn52a8Z5fDrSNy3okgZBM+pc=; b=VDsZXbGMk82TElpM95ipyLgSyNqNJsZ//EAIfNVloi0WOowYJJIGyhCrPKGvZH/c1l R10sjdXjUzbH6+thwoK6zSQIM9KQ5dZpvcb/h75z1MkXN1RMlGtPQJbGcLTQSSpYdA2O PZjm1RrJpncLik4u+h5E+Siu0A7/27mB8PU8WLqJ6HCgO9gW8hQVagt9NFdsc2atonrx emasOfYTCr+VBxzpNQ/eatuULYHGGfb0E6qw9qy/TTMsYVkUn+EqxQvwXWcwHykcyS2f iCmiEWHfJ0bbYB/KjCPqkLsdCXg7DVaivYZJuuCBhUYCYtyyJJUwj6U7OGSgVxbGczPi XGNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696277271; x=1696882071; h=content-transfer-encoding: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=QzzKZoEmdCGE7S1RXteRn52a8Z5fDrSNy3okgZBM+pc=; b=Oox5r9W2VNMFeuZo6i7Y68mkf8X3qFLDmRGpdN/RXrAWJF8Drj4QVndMGmiyNZSKaM BPN1dfiX2SV7MLPzLy+6MPL9lQPyxTeNJw4WeEedT1dYznCCGQyu9aTWsAEj39TWfyQb hpq3yKwzkZhrVZZ/pp61GQ4r6BR5GdE8eYAjkOIl1d1cfjY7753aVjq065eIqa8dASHc LjLZ1hDxQY7S0V2BmNeHkDM2brO9u2I54utDUe3Dl1j2QgIJO7QIV3fV6jisKM18qaxI +iTWRsYZn4mQbLr50wIg7Qy52NWQuEiHDwYGFE4Y6Z9Li5CJdJuAQIOty8Sh6syGOp9H FvWw== X-Gm-Message-State: AOJu0YzfOERQJU9KznhH8JqcTXTk4BeNRQtpm+L+qx4N3+Mzyfgzt0xx T9uHNdRViR/lZeC7SG8b46wg7c6JMP6gOT+CfeM= X-Received: by 2002:a2e:868e:0:b0:2c0:cd8:2bdc with SMTP id l14-20020a2e868e000000b002c00cd82bdcmr10560836lji.24.1696277270845; Mon, 02 Oct 2023 13:07:50 -0700 (PDT) MIME-Version: 1.0 References: <20231002194138.125349-1-tmaimon77@gmail.com> <20231002194138.125349-3-tmaimon77@gmail.com> In-Reply-To: From: Tomer Maimon Date: Mon, 2 Oct 2023 23:07:39 +0300 Message-ID: Subject: Re: [PATCH v4 2/2] mmc: sdhci-npcm: Add NPCM SDHCI driver To: Andy Shevchenko Cc: ulf.hansson@linaro.org, avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, adrian.hunter@intel.com, skhan@linuxfoundation.org, davidgow@google.com, pbrobinson@gmail.com, gsomlo@gmail.com, briannorris@chromium.org, arnd@arndb.de, krakoczy@antmicro.com, openbmc@lists.ozlabs.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Mon, 02 Oct 2023 13:08:10 -0700 (PDT) Hi Andy Thank a lot Address in V5 On Mon, 2 Oct 2023 at 22:46, Andy Shevchenko wr= ote: > > On Mon, Oct 2, 2023 at 10:41=E2=80=AFPM Tomer Maimon wrote: > > > > Add Nuvoton NPCM BMC sdhci-pltfm controller driver. > > ... > > > + pltfm_host->clk =3D devm_clk_get_optional_enabled(dev, NULL); > > + if (IS_ERR(pltfm_host->clk)) { > > + ret =3D PTR_ERR(pltfm_host->clk); > > + goto err_sdhci; > > + } > > ... > > > +err_sdhci_clk: > > + clk_disable_unprepare(pltfm_host->clk); > > Now this is leftover that leads to unbalanced reference counting. > > -- > With Best Regards, > Andy Shevchenko