disp: msm: dsi: drm_panel_init parameter change
Commit 6dbe0c4b0fc0 ("drm/panel: Initialise panel dev and funcs through drm_panel_init()") and commit ba2fad4c9648 ("drm/panel: Add and fill drm_panel type field") modify input parameters for drm_panel_init. This change updates the relevant changes to the dsi driver by passing in the device and panel type. Change-Id: I76a271fea08190bd8633831442ca48882f8a97e6 Signed-off-by: Samantha Tran <samtran@codeaurora.org> Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:

committed by
orion brody

parent
3d1a54ed8d
commit
d2aea44026
@@ -3559,8 +3559,8 @@ struct dsi_panel *dsi_panel_get(struct device *parent,
|
||||
}
|
||||
|
||||
panel->power_mode = SDE_MODE_DPMS_OFF;
|
||||
drm_panel_init(&panel->drm_panel);
|
||||
panel->drm_panel.dev = &panel->mipi_device.dev;
|
||||
drm_panel_init(&panel->drm_panel, &panel->mipi_device.dev,
|
||||
NULL, DRM_MODE_CONNECTOR_DSI);
|
||||
panel->mipi_device.dev.of_node = of_node;
|
||||
|
||||
rc = drm_panel_add(&panel->drm_panel);
|
||||
|
Reference in New Issue
Block a user