Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f9e011b6 authored by Ben Dooks's avatar Ben Dooks
Browse files

ARM: SAMSUNG: Fix bug in clksrc-clk round_rate call.



The call has been assuming all clksrc-clks' divider size is 4 bits, but
this may not be the case anymore. Use the reg_div.size parameter to
calculate the maximum value it can take and check against that.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent f3b464cc
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