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

drivers: clock_control: microchip: sckc: optimize get_rate, get_status



Optimize sckc_get_rate() to be called without configurations in
parameter, the selection of slow clock of the timing domain directly
comes from the register.
Optimize sckc_get_status() with return value "CLOCK_CONTROL_STATUS_ON",
slow clock is always on either driven by the RC oscillator or by the
32.768 kHz crystal oscillator.

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