drm: panel-simple: fix missing DRM_MODE_CONNECTOR_DPI for Ortustech com37h3m
diff mbox series

Message ID ff968cde9b64538101395cc660b7af3fda0945b4.1614688968.git.hns@goldelico.com
State New, archived
Headers show
Series
  • drm: panel-simple: fix missing DRM_MODE_CONNECTOR_DPI for Ortustech com37h3m
Related show

Commit Message

H. Nikolaus Schaller March 2, 2021, 12:42 p.m. UTC
Without we get an "Specify missing connector_type" warning.

Fixes: ddb8e853dc85 ("drm/panel: panel-simple: validate panel description")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 4e2dad314c7953..502b5f1c4fd16c 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3226,6 +3226,7 @@  static const struct panel_desc ortustech_com37h3m = {
 	.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
 	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
 		     DRM_BUS_FLAG_SYNC_DRIVE_POSEDGE,
+	.connector_type = DRM_MODE_CONNECTOR_DPI,
 };
 
 static const struct drm_display_mode ortustech_com43h4m85ulc_mode  = {