Skip to content
Commit e6849e2f authored by Peng Fan's avatar Peng Fan Committed by Lukasz Majewski
Browse files

clk: introduce enable_count



As what Linux Kernel 5.3.0 provides when enable/disable clk,
there is an enable_count in clk_core_disable/enable. Introduce
enable_count to track the clk enable/disable count when
clk_enable/disable for CCF. And Initialize enable_count to 0 when
register the clk.

And clk tree dump with enable_count will be supported, it will
be easy for us to check the clk status with enable_count

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 753e5385
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