Skip to content

Commit 5ce5e0d

Browse files
AngeloGioacchino Del Regnombgg
authored andcommitted
soc: mediatek: Kconfig: Add MTK_CMDQ dependency to MTK_MMSYS
The mtk-mmsys and mutex drivers do have a dependency on MTK_CMDQ, even though both can work with *or* without it: since CMDQ support can be enabled either as module or as built-in, it is necessary to add a depends rule in Kconfig, so that we disallow building both mtk-mmsys and mtk-mutex as built-in if mtk-cmdq-helper is built as a module, otherwise obvious linker issues appear. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent a73a7c4 commit 5ce5e0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soc/mediatek/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ config MTK_MMSYS
7676
tristate "MediaTek MMSYS Support"
7777
default ARCH_MEDIATEK
7878
depends on HAS_IOMEM
79+
depends on MTK_CMDQ || MTK_CMDQ=n
7980
help
8081
Say yes here to add support for the MediaTek Multimedia
8182
Subsystem (MMSYS).

0 commit comments

Comments
 (0)