]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: mp: fix parent rate change flag check
authorJernej Skrabec <jernej.skrabec@siol.net>
Tue, 9 Feb 2021 17:58:56 +0000 (18:58 +0100)
committerStephen Boyd <sboyd@kernel.org>
Fri, 12 Feb 2021 03:02:24 +0000 (19:02 -0800)
commit643006410a17075f7735f87d21ac9d5234cb79e3
treea6b227722db9fd92b18dd99be4328211d31b67a4
parentb417dca509b61118eb086e44ae3b6888b42c8388
clk: sunxi-ng: mp: fix parent rate change flag check

CLK_SET_RATE_PARENT flag is checked on parent clock instead of current
one. Fix that.

Fixes: 05e765d6748e ("clk: sunxi-ng: Adjust MP clock parent rate when allowed")
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Link: https://lore.kernel.org/r/20210209175900.7092-2-jernej.skrabec@siol.net
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sunxi-ng/ccu_mp.c