Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1606447rdb; Mon, 2 Oct 2023 15:15:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFX4X/ljOMSFSxh1mSikt7Qg7NTWOaNWs9mXJN00J5ZnEset32cvPIwyUGclw+QNXkdE0V9 X-Received: by 2002:a05:6a00:2d05:b0:68f:bb16:d16a with SMTP id fa5-20020a056a002d0500b0068fbb16d16amr1319773pfb.5.1696284953196; Mon, 02 Oct 2023 15:15:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696284953; cv=none; d=google.com; s=arc-20160816; b=g83WbCVdZXS+IEHF+RM9Y+hzDkHRBG2tti7I9pkbQFvgAccd62lFvdomlzaKaPUL4H Na/m1ziJotCjnXra8KgaO9TM8cNOYiUu4sNS69hrooHEIVAyURQ8/XEUzgXDCoOaQI7i ltHwNPxktaT6mIKt+VB51bV7ZCtkHSbHpLN0GdIo5nCyTZaEOhs8p6NjJEGEQf7R0sW2 L7zxhsTG77e15ATKcRB7EkLNDhG7iuPresgnzKvxdAb9dhjurcQxzcnYE0JDgUZIpHRQ 6uO18p8bwvpTCxpolriUM+uk5nA3PLViJhGU1TLJvGuVB7BECV7dgrV9fRu9jDk4w20H mPkQ== 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=7GnURQxCUhFf8f9trsE+6Mr8ThlATIx1PPpL0CygtXg=; fh=bgMwE4yt8W6rm5l6yr8AM9Icfd3qkP+LfFpGax82O/k=; b=KAvoK9EVL1UES18cbOcQGqt90kDphOA2S2g0jMZh7trBe3b003Pe38qhfag1GMeCMD oZUCSemxK9A4rmzTPKAfk9AAn7d3EV4+Sppnsw4Dt14Xc3jv+V0BGVO6h1uzBcfQqR7F UkVBdlVMhVQ4/xtpyOen0BqrUKqnHUAZoQCkp+P2k5Hh/zeOmxc5RLPfAl+XYrQiAvBX NZfdcWhOME/cCRHXe1hArzADGHNtwi+NkVXIAvwc6fyshcqbHxwgimb2bzepmw6of25L RcA6kskCdMOvenydVqJNiYYg3Y21Z5lAmsu9aKkabVYRlscjXTMhGYIjZ2FU+VzzmWLZ VwzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=R7kN84NM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ch3-20020a056a00288300b0068a2f6b841esi28174113pfb.293.2023.10.02.15.15.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 15:15:53 -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; dkim=pass header.i=@gmail.com header.s=20230601 header.b=R7kN84NM; 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; 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 pete.vger.email (Postfix) with ESMTP id 0A7738086901; Mon, 2 Oct 2023 12:46:26 -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 S238891AbjJBTqQ (ORCPT + 99 others); Mon, 2 Oct 2023 15:46:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjJBTqP (ORCPT ); Mon, 2 Oct 2023 15:46:15 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29C85AC; Mon, 2 Oct 2023 12:46:12 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3aa14ed0e7eso45669b6e.1; Mon, 02 Oct 2023 12:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696275971; x=1696880771; 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=7GnURQxCUhFf8f9trsE+6Mr8ThlATIx1PPpL0CygtXg=; b=R7kN84NMNBJnDUF+wbi0KdTC0R+fY/YHZ2qROl0dvv+7e0R7gobw0/CJEyBNAXo+CG MZg6hPSkJDIaHpd1L4ihSwoNSa6G4fpYGYUFQ9qwl+fkIbZj0XkYOIXfwkQ+qwClFzpY HZTtSPGcKy399HhffsKMjeKc/MAbsecQ1dODceAozfY/AKLd9Shf4FtXIKd6xUWPLFYP NAx6tRdqXc6oKW51+/aqDDwVJ0E37vua0JWqWk03Q+ihMnZXck7LMFK48hpZWQq/LYwo P64/j5Co1GgYMiwItdBqZK5kywEjyMbxTiRo4gvGru/Pv1ywYlRlyC9z62TDQs7tPyro rLWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696275971; x=1696880771; 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=7GnURQxCUhFf8f9trsE+6Mr8ThlATIx1PPpL0CygtXg=; b=In8V0NrvTvWIUsohXW6PDKgaGZcU7Dugt8a0a3+outMbMRgW3M1QIt9UBQGx3TBEPE SF2SKumivsxLM0Fhuem9sQwKWlpDD2pexysKZM4d1baeRemdKc69saubXbhwkgOiXWZT w0Zo6HT1bUlNQ341NTyimM1dlTT0BPmd+DyY03+mVLWwsMaW1H10515pC9xi/kR2PejY F1W8aUZy1giGJy/nOh3L8u8IDePe4EGfYefC8PRprsIWCjoYpTDrCxGQTK1BRbzABAoT kqsaY9XWIa4bwJ5xVzJINIHbrXhMcNbMRHnfxYGLArXBgxacxQCS5cudCSOzl5Hin/RX VJOw== X-Gm-Message-State: AOJu0Yz7RKXQwgjtgo9a55P/4XbCDThYa40DW92CtVNpzQkyXQn1mRFX aGpKzkDGIzjjJ3Jjqp4YlldcBwqOJ4mE61mcm3I= X-Received: by 2002:a05:6808:2a78:b0:3a8:6a40:7dc0 with SMTP id fu24-20020a0568082a7800b003a86a407dc0mr225924oib.18.1696275971480; Mon, 02 Oct 2023 12:46:11 -0700 (PDT) MIME-Version: 1.0 References: <20231002194138.125349-1-tmaimon77@gmail.com> <20231002194138.125349-3-tmaimon77@gmail.com> In-Reply-To: <20231002194138.125349-3-tmaimon77@gmail.com> From: Andy Shevchenko Date: Mon, 2 Oct 2023 22:45:35 +0300 Message-ID: Subject: Re: [PATCH v4 2/2] mmc: sdhci-npcm: Add NPCM SDHCI driver To: Tomer Maimon 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 pete.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 (pete.vger.email [0.0.0.0]); Mon, 02 Oct 2023 12:46:26 -0700 (PDT) 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. --=20 With Best Regards, Andy Shevchenko