Re: [PATCH net] net: mdio: mdio-bcm-unimac: Correct rate fallback logic
From: Andrew Lunn
Date: Tue Jul 29 2025 - 18:45:13 EST
On Tue, Jul 29, 2025 at 03:22:57PM -0700, Florian Fainelli wrote:
> On 7/29/25 15:20, Andrew Lunn wrote:
> > On Tue, Jul 29, 2025 at 02:31:48PM -0700, Florian Fainelli wrote:
> > > In case the rate for the parent clock is zero,
> >
> > Is there a legitimate reason the parent clock would be zero?
>
> Yes there is, the parent clock might be a gated clock that aggregates
> multiple sub-clocks and therefore has multiple "parents" technically.
> Because it has multiple parents, we can't really return a particular rate
> (clock provider is SCMI/firmware).
O.K. Maybe add this to the commit message?
Andrew