Skip to content

Commit

Permalink
drm/panel: panel-samsung-nt51017-b4p096wx5vp09: Fix warning, add sleep
Browse files Browse the repository at this point in the history
linux-mdss-dsi-panel-driver-generator generates an empty function
with an unused variable. This removes that line. Additionally, it
adds a sleep that corresponds with samsung,mdss-power-on-reset-delay-us
in the downstream dtb.

Signed-off-by: Michael Abood <[email protected]>
  • Loading branch information
person4268 authored and stephan-gh committed Nov 12, 2021
1 parent 69007ef commit ba354c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ static int nt51017_on(struct nt51017 *ctx)

static int nt51017_off(struct nt51017 *ctx)
{
struct mipi_dsi_device *dsi = ctx->dsi;

return 0;
}

Expand All @@ -73,6 +71,8 @@ static int nt51017_prepare(struct drm_panel *panel)
return ret;
}

msleep(30);

ret = nt51017_on(ctx);
if (ret < 0) {
dev_err(dev, "Failed to initialize panel: %d\n", ret);
Expand Down

0 comments on commit ba354c9

Please sign in to comment.