WSL2-Linux-Kernel/drivers/clk/starfive
Hal Feng 31c6ed4e89 clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case
When (ARCH_STARFIVE [=n] && COMPILE_TEST [=y] && RESET_CONTROLLER [=n]),
RESET_STARFIVE_JH7110 can't be selected by CLK_STARFIVE_JH7110_SYS
and CLK_STARFIVE_JH7110_AON.

Add a condition `if RESET_CONTROLLER` to fix it. Also, delete redundant
selected options of CLK_STARFIVE_JH7110_AON because these options are
already selected by the dependency.

Fixes: edab7204af ("clk: starfive: Add StarFive JH7110 system clock driver")
Fixes: b2ab3c94f4 ("clk: starfive: Add StarFive JH7110 always-on clock driver")
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Link: https://lore.kernel.org/r/20230418123756.62495-2-hal.feng@starfivetech.com
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-05-02 18:34:49 -07:00
..
Kconfig clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case 2023-05-02 18:34:49 -07:00
Makefile clk: starfive: Add StarFive JH7110 always-on clock driver 2023-04-05 15:44:18 +01:00
clk-starfive-jh71x0.c clk: starfive: Rename "jh7100" to "jh71x0" for the common code 2023-04-05 15:43:42 +01:00
clk-starfive-jh71x0.h clk: starfive: Rename "jh7100" to "jh71x0" for the common code 2023-04-05 15:43:42 +01:00
clk-starfive-jh7100-audio.c clk: starfive: Rename "jh7100" to "jh71x0" for the common code 2023-04-05 15:43:42 +01:00
clk-starfive-jh7100.c clk: starfive: Rename "jh7100" to "jh71x0" for the common code 2023-04-05 15:43:42 +01:00
clk-starfive-jh7110-aon.c clk: starfive: Delete the redundant dev_set_drvdata() in JH7110 clock drivers 2023-04-17 18:14:10 -07:00
clk-starfive-jh7110-sys.c clk: starfive: Delete the redundant dev_set_drvdata() in JH7110 clock drivers 2023-04-17 18:14:10 -07:00
clk-starfive-jh7110.h clk: starfive: Add StarFive JH7110 system clock driver 2023-04-05 15:44:12 +01:00