[PATCH] spi: cadence-qspi: Move ref clock calculation to probe

Jagan Teki jagan at amarulasolutions.com
Fri Apr 3 16:54:30 CEST 2020


On Mon, Feb 24, 2020 at 12:40 PM Pratyush Yadav <p.yadav at ti.com> wrote:
>
> "assigned-clock-parents" and "assigned-clock-rates" DT properties take
> effect only after ofdata_to_platdata() when clk_set_defaults() is called
> in device_probe(). Therefore clk get rate() would return a wrong value
> in ofdata_to_platdata() when compared with probe. Hence it needs to be
> moved to probe.
>
> Tested on u-boot-ti/next.
>
> Signed-off-by: Pratyush Yadav <p.yadav at ti.com>
> ---

Applied to u-boot-spi/master


More information about the U-Boot mailing list