Skip to content
Commit 486486ca authored by Tony Han's avatar Tony Han Committed by Benjamin Cabé
Browse files

soc: microchip: sam-clk: optimize get_rate() for MCKx clocks



Obtain the divisor value for generate the corresponding MCKx from the
register instead of from the variable to avoid wrong result caused by
un-synced division ratios.

Signed-off-by: default avatarTony Han <tony.han@microchip.com>
parent 5a4d714d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment