Skip to content
Commit e7690e61 authored by Marek Vasut's avatar Marek Vasut
Browse files

clk: renesas: Deduplicate gen3_clk_get_rate64() PLL handling



Most of the PLLx, MAIN, FIXED clock handlers are calling very similar
code, which determines parent rate and then applies multiplication and
division. The only difference is whether multiplication is fixed factor
or coming from CRx register. Deduplicate the code into a single function.

Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
parent d413214f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment