mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/panel: simple: delay init time after panel reset
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com> Change-Id: Ifb9b57bb7ce84263dea96958f6a4da9c7a6af545
This commit is contained in:
@@ -551,13 +551,13 @@ static int panel_simple_prepare(struct drm_panel *panel)
|
||||
|
||||
gpiod_direction_output(p->reset_gpio, 0);
|
||||
|
||||
if (p->desc->delay.init)
|
||||
msleep(p->desc->delay.init);
|
||||
|
||||
if (p->desc->init_seq)
|
||||
if (p->dsi)
|
||||
panel_simple_xfer_dsi_cmd_seq(p, p->desc->init_seq);
|
||||
|
||||
if (p->desc->delay.init)
|
||||
msleep(p->desc->delay.init);
|
||||
|
||||
p->prepared = true;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user