Skip to content

Commit

Permalink
drm: panel: radxa 8hd display: Fix some wrong definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperKali committed Sep 26, 2024
1 parent a4341c8 commit a8e377b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/gpu/drm/panel/panel-radxa-display-8hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ static int radxa_display_8hd_probe(struct mipi_dsi_device *dsi)

desc = of_device_get_match_data(dev);
dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
MIPI_DSI_MODE_EOT_PACKET;
MIPI_DSI_MODE_NO_EOT_PACKET;
dsi->format = desc->format;
dsi->lanes = desc->lanes;

Expand Down Expand Up @@ -410,14 +410,13 @@ static int radxa_display_8hd_probe(struct mipi_dsi_device *dsi)
return ret;
}

static int radxa_display_8hd_remove(struct mipi_dsi_device *dsi)
static void radxa_display_8hd_remove(struct mipi_dsi_device *dsi)
{
struct jadard_jd9365da *jadard_jd9365da = mipi_dsi_get_drvdata(dsi);

mipi_dsi_detach(dsi);
drm_panel_remove(&jadard_jd9365da->panel);

return 0;
}

static const struct of_device_id radxa_display_8hd_of_match[] = {
Expand Down

0 comments on commit a8e377b

Please sign in to comment.