Searched hist:"1 d42460a49347af4d1db345197e5d1277336b312" (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_frac.h | diff 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 D | ccu_frac.c | diff 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 D | ccu_mult.c | diff 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 D | ccu_nm.c | diff 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>
|