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

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



Obtain generic clock division ratio 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 a8cf6967
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment