Re: [RFC 3/3] media: atomisp: do not select COMMON_CLK to fix builds

From: Stephen Boyd
Date: Tue Nov 24 2020 - 19:15:04 EST


Quoting Krzysztof Kozlowski (2020-11-15 09:09:50)
> COMMON_CLK is a user-selectable option with its own dependencies. The
> most important dependency is !HAVE_LEGACY_CLK. User-selectable drivers
> should not select COMMON_CLK because they will create a dependency cycle
> and build failures.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

This is fallout from making the COMMON_CLK symbol selectable in commit
bbd7ffdbef68 ("clk: Allow the common clk framework to be selectable").
Before then we needed drivers to select the COMMON_CLK config so that
the framework was enabled. Now that isn't necessary and any
user-selectable options should be moved to depends syntax.

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>