On Fri, Jul 31, 2026 at 11:07 PM Kumar, Udit <[email protected]> wrote:
>
> On 7/31/2026 10:03 PM, Ralph Siemsen wrote:
> > --- a/drivers/spi/cadence_qspi.c
> > +++ b/drivers/spi/cadence_qspi.c
> > @@ -253,6 +253,7 @@ static int cadence_spi_probe(struct udevice *bus)
> >                       priv->ref_clk_hz = clk_get_rate(&clk);
> >                       if (IS_ERR_VALUE(priv->ref_clk_hz))
> >                               return priv->ref_clk_hz;
> > +                     clk_enable(&clk);
>
> you should enable clock, before calling get_rate

Good point. I will move it up.

Ralph

Reply via email to