Skip to content

Commit d064e95

Browse files
lk: fix panel on commands for -next
1 parent 56d0a50 commit d064e95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ def generate_lk_driver(p: Panel) -> None:
201201
panel->paneltiminginfo = &{p.id}_timing_info;
202202
panel->panelresetseq = {f'&{p.id}_reset_seq' if p.reset_seq else 'NULL'};
203203
panel->backlightinfo = {f'&{p.id}_backlight' if p.backlight else 'NULL'};
204-
pinfo->mipi.panel_cmds = {p.id}_on_command;
205-
pinfo->mipi.num_of_panel_cmds = ARRAY_SIZE({p.id}_on_command);
204+
pinfo->mipi.panel_on_cmds = {p.id}_on_command;
205+
pinfo->mipi.num_of_panel_on_cmds = ARRAY_SIZE({p.id}_on_command);
206206
memcpy(phy_db->timing, {p.id}_timings, TIMING_SIZE);
207207
phy_db->regulator_mode = {'DSI_PHY_REGULATOR_LDO_MODE' if p.ldo_mode else 'DSI_PHY_REGULATOR_DCDC_MODE'};
208208
}}

0 commit comments

Comments
 (0)