Skip to contentSkip to conversation

drm/bridge/sii8620: fix dependency on extcon

PATCH Superseded Robert Foss 1 participant 1 message Apr 6, 2021

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/bridge/sii8620: fix dependency on extcon

The DRM_SIL_SII8620 kconfig has a weak imply dependency on EXTCON, which causes issues when sii8620 is built as a builtin and EXTCON is built as a module.

Th symptoms are 'undefined reference' errors caused by the symbols in EXTCON not being available to the sii8620 driver.

---

LKP reported issue:
https://lore.kernel.org/lkml/[email protected]/

 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/Kconfig +1 -1
index 7c15fc170510..204c38e87849 100644
@@ -169,7 +169,7 @@ config DRM_SIL_SII8620
 	tristate "Silicon Image SII8620 HDMI/MHL bridge"
 	depends on OF
 	select DRM_KMS_HELPER
-	imply EXTCON
+	depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
 	depends on RC_CORE || !RC_CORE
 	help
 	  Silicon Image SII8620 HDMI/MHL bridge chip driver.
Signature · 6 lines
2.31.0.30.g398dba342d.dirty

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel