mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
832685f07c
mtk_clk_find_parent_rate is calling clk_get_rate to know the rate of a parent clock. clk_get_rate returns a ulong, while mtk_clk_find_parent_rate returns an int. This implicit cast creates an issue for clock rates big enough to need the full 32 bits to store its data. When that happen the clk rate will become incorrect because of the implicit cast between ulong -> int -> ulong. This commit change the return type of mtk_clk_find_parent_rate to ulong. Signed-off-by: Fabien Parent <fparent@baylibre.com> |
||
---|---|---|
.. | ||
clk-mt7622.c | ||
clk-mt7623.c | ||
clk-mt7629.c | ||
clk-mt8512.c | ||
clk-mt8516.c | ||
clk-mt8518.c | ||
clk-mtk.c | ||
clk-mtk.h | ||
Makefile |