media: atomisp: do not select COMMON_CLK to fix builds
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 16 Mar 2021 07:56:25 +0000 (08:56 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 16:55:13 +0000 (17:55 +0100)
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.

Link: https://lore.kernel.org/linux-media/20210316075625.10382-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/Kconfig

index 37577bb..742edb2 100644 (file)
@@ -2,9 +2,9 @@
 menuconfig INTEL_ATOMISP
        bool "Enable support to Intel Atom ISP camera drivers"
        depends on X86 && EFI && PCI && ACPI
+       depends on COMMON_CLK
        select IOSF_MBI
        select MEDIA_CONTROLLER
-       select COMMON_CLK
        help
          Enable support for the Intel ISP2 camera interfaces and MIPI
          sensor drivers.