drm: bridge: chipone-icn6211: Drop unnecessary bridge type

Message ID 20220110113140.27819-1-jagan@amarulasolutions.com
State New
Headers show
Series
  • drm: bridge: chipone-icn6211: Drop unnecessary bridge type
Related show

Commit Message

Jagan Teki Jan. 10, 2022, 11:31 a.m. UTC
Explicit assignment of connector to bridge type during bridge
addition is optional.

Some of the bridges like ICN6211 has panel to be connected and
that panel driver has taken care of associated connector type
of it.

Drop it.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 drivers/gpu/drm/bridge/chipone-icn6211.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/drivers/gpu/drm/bridge/chipone-icn6211.c b/drivers/gpu/drm/bridge/chipone-icn6211.c
index 23c34039ac48..c60170865b74 100644
--- a/drivers/gpu/drm/bridge/chipone-icn6211.c
+++ b/drivers/gpu/drm/bridge/chipone-icn6211.c
@@ -238,7 +238,6 @@  static int chipone_probe(struct mipi_dsi_device *dsi)
 		return ret;
 
 	icn->bridge.funcs = &chipone_bridge_funcs;
-	icn->bridge.type = DRM_MODE_CONNECTOR_DPI;
 	icn->bridge.of_node = dev->of_node;
 
 	drm_bridge_add(&icn->bridge);