diff options
| author | Joey Lu <a0987203069@gmail.com> | 2026-05-21 09:42:18 +0800 |
|---|---|---|
| committer | Brian Masney <bmasney@redhat.com> | 2026-06-29 13:27:28 -0400 |
| commit | b3a2223a7805c7e6759a32a5d6ca574ad07e2710 (patch) | |
| tree | 8dd828f6bfcabaa93a314dd09452b4b8e37b09de /include/linux/xarray.h | |
| parent | f63aecdb45e9dd19c340fd62df698374d95b9024 (diff) | |
clk: nuvoton: ma35d1: fix ignored div_u64 return values in PLL freq calculation
div_u64() does not modify its argument in place; the return value must
be assigned. Both ma35d1_calc_smic_pll_freq() and ma35d1_calc_pll_freq()
called div_u64() and discarded the result, leaving pll_freq holding the
undivided product and thus returning a frequency orders of magnitude too
high.
Fixes: 691521a367cf ("clk: nuvoton: Add clock driver for ma35d1 clock controller")
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Joey Lu <a0987203069@gmail.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'include/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions
