To fix below building error: drivers/gpu/drm/bridge/ti-sn65dsi86.c:1146:60: error: 'client' undeclared (first use in this function) | 1146 | .node = client->dev.of_node, | | ^~~~~~
drivers/gpu/drm/bridge/ti-sn65dsi86.c:1190:28: error: 'MIPI_DSI_MODE_EOT_PACKET' undeclared (first use in this function); did you mean 'MIPI_DSI_MODE_NO_EOT_PACKET'? | 1190 | dsi->mode_flags |= MIPI_DSI_MODE_EOT_PACKET | MIPI_DSI_MODE_VIDEO_SYNC_PULSE; | | ^~~~~~~~~~~~~~~~~~~~~~~~ | | MIPI_DSI_MODE_NO_EOT_PACKET Signed-off-by: Xulin Sun <[email protected]> --- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c index de261a052abd..c5b28739cdb1 100644 --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c @@ -1143,7 +1143,7 @@ static int ti_sn_bridge_probe(struct auxiliary_device *adev, struct mipi_dsi_device *dsi; const struct mipi_dsi_device_info info = { .type = "ti_sn_bridge", .channel = 0, - .node = client->dev.of_node, + .node = np, }; ret = drm_of_find_panel_or_bridge(np, 1, 0, &panel, NULL); @@ -1187,7 +1187,7 @@ static int ti_sn_bridge_probe(struct auxiliary_device *adev, dsi->lanes = 2; dsi->format = MIPI_DSI_FMT_RGB888; dsi->mode_flags = MIPI_DSI_MODE_VIDEO; - dsi->mode_flags |= MIPI_DSI_MODE_EOT_PACKET | MIPI_DSI_MODE_VIDEO_SYNC_PULSE; + dsi->mode_flags |= MIPI_DSI_MODE_NO_EOT_PACKET | MIPI_DSI_MODE_VIDEO_SYNC_PULSE; /* check if continuous dsi clock is required or not */ pm_runtime_get_sync(pdata->dev); -- 2.36.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12181): https://lists.yoctoproject.org/g/linux-yocto/message/12181 Mute This Topic: https://lists.yoctoproject.org/mt/97262125/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
