2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/drivers/clk/sunxi-ng
Chen-Yu Tsai ed0ab11023 clk: sunxi-ng: Fix inverted test condition in ccu_helper_wait_for_lock
The condition passed to read*_poll_timeout() is the break condition,
i.e. wait for this condition to happen and return success.

The original code assumed the opposite, resulting in a warning when
the PLL clock rate was changed but never lost it's lock as far as
the readout indicated. This was verified by checking the read out
register value.

Fixes: 1d80c14248 ("clk: sunxi-ng: Add common infrastructure")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-08-10 15:07:01 -07:00
..
ccu_common.c clk: sunxi-ng: Fix inverted test condition in ccu_helper_wait_for_lock 2016-08-10 15:07:01 -07:00
ccu_common.h
ccu_div.c clk: sunxi-ng: Add divider 2016-07-08 18:04:48 -07:00
ccu_div.h clk: sunxi-ng: Add divider 2016-07-08 18:04:48 -07:00
ccu_frac.c clk: sunxi-ng: Add fractional lib 2016-07-08 18:04:35 -07:00
ccu_frac.h clk: sunxi-ng: Add fractional lib 2016-07-08 18:04:35 -07:00
ccu_gate.c clk: sunxi-ng: Add gate clock support 2016-07-08 18:04:38 -07:00
ccu_gate.h clk: sunxi-ng: Add gate clock support 2016-07-08 18:04:38 -07:00
ccu_mp.c clk: sunxi-ng: Add M-P factor clock support 2016-07-08 18:04:52 -07:00
ccu_mp.h clk: sunxi-ng: Add M-P factor clock support 2016-07-08 18:04:52 -07:00
ccu_mult.h
ccu_mux.c clk: sunxi-ng: Add mux clock support 2016-07-08 18:04:42 -07:00
ccu_mux.h clk: sunxi-ng: Add mux clock support 2016-07-08 18:04:42 -07:00
ccu_nk.c clk: sunxi-ng: Add N-K-factor clock support 2016-07-08 18:04:56 -07:00
ccu_nk.h clk: sunxi-ng: Add N-K-factor clock support 2016-07-08 18:04:56 -07:00
ccu_nkm.c clk: sunxi-ng: Add N-K-M Factor clock 2016-07-08 18:05:03 -07:00
ccu_nkm.h clk: sunxi-ng: Add N-K-M Factor clock 2016-07-08 18:05:03 -07:00
ccu_nkmp.c clk: sunxi-ng: Add N-K-M-P factor clock 2016-07-08 18:05:06 -07:00
ccu_nkmp.h clk: sunxi-ng: Add N-K-M-P factor clock 2016-07-08 18:05:06 -07:00
ccu_nm.c clk: sunxi-ng: Add N-M-factor clock support 2016-07-08 18:05:00 -07:00
ccu_nm.h clk: sunxi-ng: Add N-M-factor clock support 2016-07-08 18:05:00 -07:00
ccu_phase.c clk: sunxi-ng: Add phase clock support 2016-07-08 18:04:45 -07:00
ccu_phase.h clk: sunxi-ng: Add phase clock support 2016-07-08 18:04:45 -07:00
ccu_reset.c
ccu_reset.h
ccu-sun8i-h3.c clk: sunxi-ng: h3: Fix audio clock divider offset 2016-07-11 14:34:54 -07:00
ccu-sun8i-h3.h clk: sunxi-ng: Add H3 clocks 2016-07-08 18:05:12 -07:00
Kconfig clk: sunxi-ng: h3: Fix Kconfig symbol typo 2016-07-11 14:35:16 -07:00
Makefile clk: sunxi-ng: Add H3 clocks 2016-07-08 18:05:12 -07:00