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 0F405C32773 for ; Fri, 19 Aug 2022 21:42:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231651AbiHSVmu (ORCPT ); Fri, 19 Aug 2022 17:42:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbiHSVmt (ORCPT ); Fri, 19 Aug 2022 17:42:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCBA110DCD5 for ; Fri, 19 Aug 2022 14:42:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7ACCA6177D for ; Fri, 19 Aug 2022 21:42:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3079C433D6; Fri, 19 Aug 2022 21:42:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660945367; bh=AawV2mEMkPAqpUiBbdYiU4zaKIciI46+0fh/k1Wpntg=; h=In-Reply-To:References:Subject:From:To:Date:From; b=Q2ZjwxEN9p1TaoZAyvpLfXLH2Gz3UrWtvisZfAieW7eR5bhUx0bZ4jxPyqr6RUowq KewzuWAoY15bX5qpOy/52u3rluODh+TCKwQ02qFx9mBt6X4TRmAEGWuN3j/Yq9WFUt MOWLgs8VaosmFYt5HtYY2hSztD+2SmtdCPAFpotVL8RYO80eGrpd6MgjBJGHHS7PHz pGrLsOX4Q4+EJkLea6gio4heOc+ttrzwW1eXxFPrEdN5j8XHLWON7f3Gmdn0zREzLi K745VtC3YgrvpSrW+jhnxfTOGH1d5amsaWTppqVrK4FaruwVbeV/bX/gI+eelCk/ib 7CRSshNJkoCvA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220630143949.218922-1-windhl@126.com> References: <20220630143949.218922-1-windhl@126.com> Subject: Re: [PATCH v3] clk: at91: dt-compat: Hold reference returned by of_get_parent() From: Stephen Boyd To: alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com, linux-clk@vger.kernel.org, mturquette@baylibre.com, nicolas.ferre@microchip.com, windhl@126.com Date: Fri, 19 Aug 2022 14:42:46 -0700 User-Agent: alot/0.10 Message-Id: <20220819214247.D3079C433D6@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Quoting Liang He (2022-06-30 07:39:49) > We need to hold the reference returned by of_get_parent() and use > it to call of_node_put() for refcount balance. >=20 > Signed-off-by: Liang He > --- Applied to clk-next