media: platform: VIDEO_MEDIATEK_JPEG can also depend on MTK_IOMMU

From: maoguang.meng
Date: Mon Jan 13 2020 - 22:36:31 EST


From: Maoguang Meng <maoguang.meng@xxxxxxxxxxxx>

mediatek jpeg vcodec driver can depend on MTK_IOMMU or MTK_IOMMU_V1.


Signed-off-by: Maoguang Meng <maoguang.meng@xxxxxxxxxxxx>
---
drivers/media/platform/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index e84f35d3a68e..85377c88e91a 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -200,7 +200,7 @@ config VIDEO_IMX_PXP

config VIDEO_MEDIATEK_JPEG
tristate "Mediatek JPEG Codec driver"
- depends on MTK_IOMMU_V1 || COMPILE_TEST
+ depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST
depends on VIDEO_DEV && VIDEO_V4L2
depends on ARCH_MEDIATEK || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG
--
2.18.0