[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <36c32191-8cde-4a95-baf4-311b663fe275@gmail.com>
Date: Fri, 1 Dec 2023 09:03:17 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Heiko Stuebner <heiko@...ech.de>, andrew@...n.ch, hkallweit1@...il.com
Cc: linux@...linux.org.uk, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, quentin.schulz@...obroma-systems.com,
Heiko Stuebner <heiko.stuebner@...rry.de>
Subject: Re: [PATCH 1/2] net: phy: micrel: use devm_clk_get_optional_enabled
for the rmii-ref clock
On 12/1/23 07:01, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@...rry.de>
>
> While the external clock input will most likely be enabled, it's not
> guaranteed and clk_get_rate in some suppliers will even just return
> valid results when the clock is running.
>
> So use devm_clk_get_optional_enabled to retrieve and enable the clock
> in one go.
>
> Signed-off-by: Heiko Stuebner <heiko.stuebner@...rry.de>
Reviewed-by: Florian Fainelli <florian.fainelli@...adcom.com>
--
Florian
Powered by blists - more mailing lists