Home
last modified time | relevance | path

Searched hist:"1 d42460a49347af4d1db345197e5d1277336b312" (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/clk/sunxi-ng/
H A Dccu_frac.hdiff 1d42460a49347af4d1db345197e5d1277336b312 Sun Jul 30 18:41:50 CEST 2017 Jernej Škrabec <jernej.skrabec@siol.net> clk: sunxi-ng: Wait for lock when using fractional mode

Currently ccu_frac_helper_set_rate() doesn't wait for a lock bit to be
set before returning. Because of that, unstable clock may be used.

Add a wait for lock in the helper function.

Fixes: 89a3dfb78707 ("clk: sunxi-ng: Add fractional lib")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
H A Dccu_frac.cdiff 1d42460a49347af4d1db345197e5d1277336b312 Sun Jul 30 18:41:50 CEST 2017 Jernej Škrabec <jernej.skrabec@siol.net> clk: sunxi-ng: Wait for lock when using fractional mode

Currently ccu_frac_helper_set_rate() doesn't wait for a lock bit to be
set before returning. Because of that, unstable clock may be used.

Add a wait for lock in the helper function.

Fixes: 89a3dfb78707 ("clk: sunxi-ng: Add fractional lib")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
H A Dccu_mult.cdiff 1d42460a49347af4d1db345197e5d1277336b312 Sun Jul 30 18:41:50 CEST 2017 Jernej Škrabec <jernej.skrabec@siol.net> clk: sunxi-ng: Wait for lock when using fractional mode

Currently ccu_frac_helper_set_rate() doesn't wait for a lock bit to be
set before returning. Because of that, unstable clock may be used.

Add a wait for lock in the helper function.

Fixes: 89a3dfb78707 ("clk: sunxi-ng: Add fractional lib")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
H A Dccu_nm.cdiff 1d42460a49347af4d1db345197e5d1277336b312 Sun Jul 30 18:41:50 CEST 2017 Jernej Škrabec <jernej.skrabec@siol.net> clk: sunxi-ng: Wait for lock when using fractional mode

Currently ccu_frac_helper_set_rate() doesn't wait for a lock bit to be
set before returning. Because of that, unstable clock may be used.

Add a wait for lock in the helper function.

Fixes: 89a3dfb78707 ("clk: sunxi-ng: Add fractional lib")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>