Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2370698imm; Thu, 18 Oct 2018 13:31:20 -0700 (PDT) X-Google-Smtp-Source: ACcGV62rtSLt53egghN86YFiZcAgkE9OnX+dqwHz9nl1MIU9DzxqmSxS4o6/a9FshyK/Vo7qPu0A X-Received: by 2002:a17:902:104:: with SMTP id 4-v6mr31653826plb.189.1539894680543; Thu, 18 Oct 2018 13:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539894680; cv=none; d=google.com; s=arc-20160816; b=gFtU30Fb4r83T+qDZREE2EZQdcPlrg0f7fOKvQ+WL5XAod6CFZAP9QAPIS9NE0Y0Ee eb5375fmRBVk4yYszgHpcAjSlQHuzOmgmNpNKyGnAqQJLPWzgXOVoV7iSlGqFfN5Wp14 64jirxb+v9CCmqSNEpkrGayToxRVXe3JqPqp3E77bqUlcPMLJrwcSI79GcrT/FK2oS4v 9r05NKavD/Hr73K5bTcy3i7/vU/IaifdC0Hv7iTxT2/M8+a6xAINh5BgfqB2Kq1GLft0 OaMWShskH+RuaRDFA+w64Cesm4v0XpDha/SD108Ub9sj81x9M1lvciSEBGqVql51/5wc RQdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=pPNdVkXhfxUFr1pvBtCEWS1LBJGLV15NZXyYsCpnBaI=; b=UENNwZoJQb+2VGQNHeCO4xORQLcGfIzSVZL6WaDZa/4rNHqe/7580Jw3LSKzgCNA0k W23aiwprVPYFMJnQYWjX+dkeXwSE+Rnj97XWjZsrrFrJrKyPKhr6g33ele9rZcaI0tWN nN4uHkuObyzA+iAckeOKiqLSYLXDkocRFOcdF5152Uzd2gPzg877wU0rAALklqgrEztH JTmaGFKtDn167PmgVr266PmY3GmyrknkrD3ojZ5OFj0JMqkU4O8o5joTcrurZDBAqmhG jAaLi851zoGERxtnKmOZhOE3g5hqijg5T/X9uYOjypryzAHbzuaWoO4E0k9HqTqUaOdx jFEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0lATk4k+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q18-v6si20035355pgh.523.2018.10.18.13.31.05; Thu, 18 Oct 2018 13:31:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0lATk4k+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727126AbeJSEZZ (ORCPT + 99 others); Fri, 19 Oct 2018 00:25:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:36672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726454AbeJSEZZ (ORCPT ); Fri, 19 Oct 2018 00:25:25 -0400 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E39F02098A; Thu, 18 Oct 2018 20:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539894165; bh=Cp1vWvodqUJ2SludGUJDRiO4xD4RlIkFUGNPaQ0UzJQ=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=0lATk4k+etLGlCBEJ7xzDqShDwmBwnjiuCdwBmHpg7jCrffHVqeA2O3E1eMDGEV4L AawrA+0UDhEjx5y4tSJxbbko0SFifbqpWW3CNo1D1tICQ3oFv+iwrye0eG9/k33pxk yh1ov6QJTd7GvJpS65YD9eqJZk513V1AOx6MzP54= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Alan Tull , Michael Turquette From: Stephen Boyd In-Reply-To: <20181018195411.3449-1-atull@kernel.org> Cc: Ricardo Ribalda Delgado , Alan Tull , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20181018195411.3449-1-atull@kernel.org> Message-ID: <153989416422.53599.5865157270835783532@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH] clk: fixed-rate: fix of_node_get-put imbalance Date: Thu, 18 Oct 2018 13:22:44 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Alan Tull (2018-10-18 12:54:11) > When the fixed rate clock is created by devicetree, > of_clk_add_provider is called. Add a call to > of_clk_del_provider in the remove function to balance > it out. > = > Signed-off-by: Alan Tull > --- Fixes tag? I'll tack one on. > drivers/clk/clk-fixed-rate.c | 1 + > 1 file changed, 1 insertion(+) > = > diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c > index b5c46b3f8764..6d6475c32ee5 100644 > --- a/drivers/clk/clk-fixed-rate.c > +++ b/drivers/clk/clk-fixed-rate.c > @@ -200,6 +200,7 @@ static int of_fixed_clk_remove(struct platform_device= *pdev) > { > struct clk *clk =3D platform_get_drvdata(pdev); > = > + of_clk_del_provider(pdev->dev.of_node); > clk_unregister_fixed_rate(clk); > = > return 0;