OSDN Git Service

media: atomisp: disable the dummy PM driver is atomisp driver is built
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 7 May 2020 14:19:59 +0000 (10:19 -0400)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:20 +0000 (12:32 +0200)
As the atomisp driver should already be handling the ISP
PCI ID, there's no sense on keeping the dummy driver enabled
in tis case.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/platform/x86/Kconfig

index 0ad7ad8..c257072 100644 (file)
@@ -741,6 +741,7 @@ config THINKPAD_ACPI_HOTKEY_POLL
 config INTEL_ATOMISP2_PM
        tristate "Intel AtomISP2 dummy / power-management driver"
        depends on PCI && IOSF_MBI && PM
+       depends on !INTEL_ATOMISP
        help
          Power-management driver for Intel's Image Signal Processor found on
          Bay Trail and Cherry Trail devices. This dummy driver's sole purpose