jz4780_clk_gen_set_freq always sets a frequency >= target. Included:
- By default choose the closest matching divider instead of one that results in a frequency >= target
- Fix inverted rounding logic
Differential D8784
jz4780: fix clk_gen divider calculation and rounding jmcneill on Dec 14 2016, 1:49 AM. Authored by Tags Referenced Files
Details jz4780_clk_gen_set_freq always sets a frequency >= target. Included:
Diff Detail
Event TimelineComment Actions I just can say that I saw some problem in that area configuring MMC device for X1000 processor a month ago and was thinking about similar change. |