Re: [U-Boot] [PATCH 1/3] clk: introduce enable_cnt

2019-08-16 Thread Peng Fan
Hi Lukasz, > Subject: Re: [PATCH 1/3] clk: introduce enable_cnt > > Hi Peng, > > > Introduce enable_cnt to track the clk enable/disable count > > As fair as I remember there was no reference counters for Linux original CCF > (to be precise - they are in devices, but not explicitly used in

Re: [U-Boot] [PATCH 1/3] clk: introduce enable_cnt

2019-08-16 Thread Lukasz Majewski
Hi Peng, > Introduce enable_cnt to track the clk enable/disable count As fair as I remember there was no reference counters for Linux original CCF (to be precise - they are in devices, but not explicitly used in CCF). As the commit message is very short I would like to explicitly ask what

[U-Boot] [PATCH 1/3] clk: introduce enable_cnt

2019-08-16 Thread Peng Fan
Introduce enable_cnt to track the clk enable/disable count when clk_enable/disable for CCF. And Initialize enable_cnt to 0 when register the clk. Signed-off-by: Peng Fan --- drivers/clk/clk.c| 1 + drivers/clk/clk_fixed_rate.c | 1 + include/clk.h| 1 + 3 files