Skip to content
Commit 0a9c2874 authored by Pratyush Yadav's avatar Pratyush Yadav Committed by Jagan Teki
Browse files

spi: cadence-qspi: Move ref clock calculation to probe



"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: default avatarPratyush Yadav <p.yadav@ti.com>
Acked-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Acked-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 7ddea756
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment