media: staging: tegra-vde: Select IOVA unconditionally in Kconfig
authorDmitry Osipenko <digetx@gmail.com>
Sun, 15 Dec 2019 18:07:50 +0000 (19:07 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 8 Jan 2020 13:26:17 +0000 (14:26 +0100)
There were several reports of building failures due to IOVA being selected
inconsistently by different drivers. All drivers that are using IOVA API
should select it unconditionally in order to avoid the compilation
problems, tegra-vde is one of those drivers.

Link: https://patchwork.kernel.org/patch/11057831/
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/tegra-vde/Kconfig

index ba49ea5..0dc78af 100644 (file)
@@ -3,7 +3,7 @@ config TEGRA_VDE
        tristate "NVIDIA Tegra Video Decoder Engine driver"
        depends on ARCH_TEGRA || COMPILE_TEST
        select DMA_SHARED_BUFFER
-       select IOMMU_IOVA if (IOMMU_SUPPORT || COMPILE_TEST)
+       select IOMMU_IOVA
        select SRAM
        help
            Say Y here to enable support for the NVIDIA Tegra video decoder