]> git.hungrycats.org Git - linux/commitdiff
serial: 8250_mid: fix broken DMA dependency
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 10 Dec 2015 11:26:21 +0000 (13:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Feb 2018 10:03:49 +0000 (11:03 +0100)
commit 0ff4230584320b2153752ba54e2e8edbd6addf2c upstream.

In order to enable HSU DMA PCI driver, the HSU DMA Engine
must be enabled. This add a check for that.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig

index 6412f1455beb3622f27e1738a468ff93d00fedfc..6f4c180aadc18b9dd48469820a0e5d6fef9e56fe 100644 (file)
@@ -372,7 +372,7 @@ config SERIAL_8250_MID
        tristate "Support for serial ports on Intel MID platforms"
        depends on SERIAL_8250 && PCI
        select HSU_DMA if SERIAL_8250_DMA
-       select HSU_DMA_PCI if X86_INTEL_MID
+       select HSU_DMA_PCI if (HSU_DMA && X86_INTEL_MID)
        select RATIONAL
        help
          Selecting this option will enable handling of the extra features