2020-01-14 03:48:36

by maoguang.meng

[permalink] [raw]
Subject: media: platform: VIDEO_MEDIATEK_JPEG can also depend on MTK_IOMMU

From: Maoguang Meng <[email protected]>

mediatek jpeg vcodec driver can depend on MTK_IOMMU or MTK_IOMMU_V1.


Signed-off-by: Maoguang Meng <[email protected]>
---
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