diff options
| author | Pratyush Yadav <[email protected]> | 2020-02-24 12:40:51 +0530 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2020-04-29 01:44:35 +0530 |
| commit | 0a9c2874978a8468c92ed0dafe7a0cf239dc6a35 (patch) | |
| tree | 63e7fa2cfbfef6e9a20613822b5498769b81db81 /include/linux | |
| parent | 7ddea756540b5adddfde3b890fa46a40c649e68f (diff) | |
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: Pratyush Yadav <[email protected]>
Acked-by: Vignesh Raghavendra <[email protected]>
Acked-by: Simon Goldschmidt <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
