Skip to contentSkip to conversation

drm/bridge/sii8620: fix dependency on extcon

PATCH In review Robert Foss 2 participants 7 messages Apr 19, 2021 – May 15, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 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.

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

Fixes 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL")

---

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

Changes since v1:
- Fix typo on comment

Changes since v2:
- Randy: Changed from depends to select

 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/Kconfig +1 -1
index 22a467abd3e9..70402da5cc70 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
+	select EXTCON
 	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
Acked-by on v3 1/1
#1 lore raw
Quoted 17 lines · Robert Foss

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.

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

Fixes 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL")

---

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

Quoted 5 lines

Changes since v1:
- Fix typo on comment

Changes since v2:
- Randy: Changed from depends to select

I don't know why my name is on that. I didn't
suggest any change -- I just reported that v2
had a problem.

Quoted 10 lines

 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/Kconfig +0 -0
index 22a467abd3e9..70402da5cc70 100644

drivers/gpu/drm/bridge/Kconfig config DRM_SIL_SII8620 · line 175

Quoted 8 lines
drivers/gpu/drm/bridge/Kconfig +1 -1
@@ -169,7 +169,7 @@ config DRM_SIL_SII8620
 	tristate "Silicon Image SII8620 HDMI/MHL bridge"
 	depends on OF
 	select DRM_KMS_HELPER
-	imply EXTCON
+	select EXTCON
 	depends on RC_CORE || !RC_CORE
 	help
 	  Silicon Image SII8620 HDMI/MHL bridge chip driver.

Thanks. Works For Me.

Signature · 1 line
~Randy
#2 lore raw
Quoted 22 lines · On Mon, Apr 19, 2021, 19:11 Randy Dunlap <[email protected]> wrote:
Quoted 9 lines · Robert Foss

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.

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

Fixes 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection

logic to detect MHL")

Quoted 11 lines

---

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

Changes since v1:
- Fix typo on comment

Quoted 7 lines
Quoted 2 lines

Changes since v2:
- Randy: Changed from depends to select

I don't know why my name is on that. I didn't
suggest any change -- I just reported that v2
had a problem.

Credit where credit is due :)

Quoted 24 lines

Review

Quoted 7 lines


 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/gpu/drm/bridge/Kconfig

drivers/gpu/drm/bridge/Kconfig config DRM_SIL_SII8620 · line 175

Quoted 12 lines

index 22a467abd3e9..70402da5cc70 100644

drivers/gpu/drm/bridge/Kconfig +1 -1
@@ -169,7 +169,7 @@ config DRM_SIL_SII8620
      tristate "Silicon Image SII8620 HDMI/MHL bridge"
      depends on OF
      select DRM_KMS_HELPER
-     imply EXTCON
+     select EXTCON
      depends on RC_CORE || !RC_CORE
      help
        Silicon Image SII8620 HDMI/MHL bridge chip driver.

Thanks. Works For Me.

Quoted 6 lines

--
~Randy

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

Reviewed-by
#3 lore raw
In reply to Randy Dunlap
Quoted 51 lines · Randy Dunlap
Quoted 17 lines · Robert Foss

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.

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

Fixes 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL")

---

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

Quoted 5 lines

Changes since v1:
- Fix typo on comment

Changes since v2:
- Randy: Changed from depends to select

I don't know why my name is on that. I didn't
suggest any change -- I just reported that v2
had a problem.

Quoted 10 lines

 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/Kconfig +0 -0
index 22a467abd3e9..70402da5cc70 100644

drivers/gpu/drm/bridge/Kconfig config DRM_SIL_SII8620 · line 175

Quoted 8 lines
drivers/gpu/drm/bridge/Kconfig +1 -1
@@ -169,7 +169,7 @@ config DRM_SIL_SII8620
 	tristate "Silicon Image SII8620 HDMI/MHL bridge"
 	depends on OF
 	select DRM_KMS_HELPER
-	imply EXTCON
+	select EXTCON
 	depends on RC_CORE || !RC_CORE
 	help
 	  Silicon Image SII8620 HDMI/MHL bridge chip driver.

Thanks. Works For Me.

Quoted 1 line

Actually I can upgrade that to:

ta.

Signature · 6 lines
~Randy

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw
Quoted 52 lines · Randy Dunlap
Quoted 51 lines · Randy Dunlap
Quoted 17 lines · Robert Foss

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.

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

Fixes 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL")

---

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

Quoted 5 lines

Changes since v1:
- Fix typo on comment

Changes since v2:
- Randy: Changed from depends to select

I don't know why my name is on that. I didn't
suggest any change -- I just reported that v2
had a problem.

Quoted 10 lines

 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/Kconfig +0 -0
index 22a467abd3e9..70402da5cc70 100644

drivers/gpu/drm/bridge/Kconfig config DRM_SIL_SII8620 · line 175

Quoted 8 lines
drivers/gpu/drm/bridge/Kconfig +1 -1
@@ -169,7 +169,7 @@ config DRM_SIL_SII8620
 	tristate "Silicon Image SII8620 HDMI/MHL bridge"
 	depends on OF
 	select DRM_KMS_HELPER
-	imply EXTCON
+	select EXTCON
 	depends on RC_CORE || !RC_CORE
 	help
 	  Silicon Image SII8620 HDMI/MHL bridge chip driver.

Thanks. Works For Me.

Quoted 5 lines
Quoted 1 line

Actually I can upgrade that to:

Hi,
Is anyone merging this patch?

thanks.

Signature · 1 line
~Randy
#5 lore raw

Hey Randy,

I missed sending out a notification, but this patch was merged into drm-misc-next.

https://cgit.freedesktop.org/drm/drm-misc/commit/?id=08319adbdde15ef7cee1970336f63461254baa2a

Quoted 67 lines · Randy Dunlap
Quoted 52 lines · Randy Dunlap
Quoted 51 lines · Randy Dunlap
Quoted 17 lines · Robert Foss

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.

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

Fixes 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL")

---

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

Quoted 5 lines

Changes since v1:
- Fix typo on comment

Changes since v2:
- Randy: Changed from depends to select

I don't know why my name is on that. I didn't
suggest any change -- I just reported that v2
had a problem.

Quoted 10 lines

 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/Kconfig +0 -0
index 22a467abd3e9..70402da5cc70 100644

drivers/gpu/drm/bridge/Kconfig config DRM_SIL_SII8620 · line 175

Quoted 8 lines
drivers/gpu/drm/bridge/Kconfig +1 -1
@@ -169,7 +169,7 @@ config DRM_SIL_SII8620
    tristate "Silicon Image SII8620 HDMI/MHL bridge"
    depends on OF
    select DRM_KMS_HELPER
-   imply EXTCON
+   select EXTCON
    depends on RC_CORE || !RC_CORE
    help
      Silicon Image SII8620 HDMI/MHL bridge chip driver.

Thanks. Works For Me.

Quoted 5 lines
Quoted 1 line

Actually I can upgrade that to:

Hi,
Is anyone merging this patch?

thanks.
--
~Randy

#6 lore raw
Quoted 6 lines · Robert Foss

Hey Randy,

I missed sending out a notification, but this patch was merged into drm-misc-next.

https://cgit.freedesktop.org/drm/drm-misc/commit/?id=08319adbdde15ef7cee1970336f63461254baa2a

OK, thanks, Robert.

I was mainly asking because the 0day bot sent out a build failure that this patch fixes, but it was dated 2021-MAY-05, so I guess I can just ignore it, since it is so old. :)

Quoted 66 lines · Randy Dunlap
Quoted 65 lines · Randy Dunlap
Quoted 52 lines · Randy Dunlap
Quoted 51 lines · Robert Foss
Quoted 17 lines

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.

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

Fixes 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL")

---

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

Quoted 5 lines

Changes since v1:
- Fix typo on comment

Changes since v2:
- Randy: Changed from depends to select

I don't know why my name is on that. I didn't
suggest any change -- I just reported that v2
had a problem.

Quoted 10 lines

 drivers/gpu/drm/bridge/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/bridge/Kconfig +0 -0
index 22a467abd3e9..70402da5cc70 100644

drivers/gpu/drm/bridge/Kconfig config DRM_SIL_SII8620 · line 175

Quoted 8 lines
drivers/gpu/drm/bridge/Kconfig +1 -1
@@ -169,7 +169,7 @@ config DRM_SIL_SII8620
    tristate "Silicon Image SII8620 HDMI/MHL bridge"
    depends on OF
    select DRM_KMS_HELPER
-   imply EXTCON
+   select EXTCON
    depends on RC_CORE || !RC_CORE
    help
      Silicon Image SII8620 HDMI/MHL bridge chip driver.

Thanks. Works For Me.

Quoted 5 lines
Quoted 1 line

Actually I can upgrade that to:

Hi,
Is anyone merging this patch?

thanks.
--

Signature · 1 line
~Randy