From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0F2BC5321D for ; Mon, 26 Aug 2024 07:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=b92oxR4FRN1QyPqUKncYuiqpCC8o3cAArslA4ZSb3DQ=; b=P/gJGYeR86XpW1npTCLP5HnXgi +VyLaw8E6dOAoNb0X03BZG6aOerIscmlygsJsd5dL6ZtBceKkAq7VFynbmf0ZZf8yTYjxMmWlI8oB MJxexGX24wj7fNlTdKntgYcvoPoZE5h/agzN6iX22CvcZO2XMw99DuQuRCX4bPHkueXnrkCP6zo3G uiPMdRFFRvnmA4lwKWTET6rEE3Gvd4F7RzxwHdsIRKIxSYufyicF/H4GZ4PokMAm1Ba8V89E2IoJy +x2MtwCml/Uug2syzgMt8P+xRZqn1iQUdwYD1uZ5cUHwNmIe2PLePhWqeAQkfxz8+Bq7jrCjMQaO4 qSwMhMWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siU4Y-00000006FBw-0qFl; Mon, 26 Aug 2024 07:23:30 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siTwI-00000006Dzh-3t2a; Mon, 26 Aug 2024 07:15:00 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id D2DF6A41382; Mon, 26 Aug 2024 07:14:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D350BC8CDC4; Mon, 26 Aug 2024 07:14:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724656497; bh=5BefvIr/PUt8DwHXKIJx2BOdAE6F9zDv394OpNPF09Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wmetVni3AbNIihEBPks0uvPVPpkKIqa1TSUhn3Ken93TpqWKBKSYzaFWsv4ID2bW0 XShVTZWSVqKIWmVysFjorOt9ICVHSrhJyhDzxKAkvE7q2szVWXdgtd26nz0/e8h+NS IjwEUCVMSFrQyUiphvXB/eAVexAsiqKeysUHwmKc= Date: Mon, 26 Aug 2024 09:14:54 +0200 From: Greg Kroah-Hartman To: Lei Liu Cc: Neal Liu , Joel Stanley , Andrew Jeffery , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Conor Dooley , Daire McNamara , Bin Liu , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-aspeed@lists.ozlabs.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, opensource.kernel@vivo.com Subject: Re: [PATCH v2 0/5] usb drivers use devm_clk_get_enabled() helpers Message-ID: <2024082621-mortuary-gazing-20b5@gregkh> References: <20240826070244.1835-1-liulei.rjpt@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240826070244.1835-1-liulei.rjpt@vivo.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_001459_060909_0819E134 X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Aug 26, 2024 at 03:02:38PM +0800, Lei Liu wrote: > The devm_clk_get_enabled() helpers: > - call devm_clk_get() > - call clk_prepare_enable() and register what is needed in order to > call clk_disable_unprepare() when needed, as a managed resource. > > This simplifies the code and avoids calls to clk_disable_unprepare(). Your email threading is broken for some reason :( Please fix up and send a v3 series. thanks, greg k-h