Skip to content

Commit ef2084a

Browse files
nfrapradodianders
authored andcommitted
drm/panel-edp: Fix variable typo when saving hpd absent delay from DT
The value read from the "hpd-absent-delay-ms" property in DT was being saved to the wrong variable, overriding the hpd_reliable delay. Fix the typo. Fixes: 5540cf8 ("drm/panel-edp: Implement generic "edp-panel"s probed by EDID") Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Reviewed-by: André Almeida <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent dbd0da2 commit ef2084a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/panel/panel-edp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ static int generic_edp_panel_probe(struct device *dev, struct panel_edp *panel)
713713
of_property_read_u32(dev->of_node, "hpd-reliable-delay-ms", &reliable_ms);
714714
desc->delay.hpd_reliable = reliable_ms;
715715
of_property_read_u32(dev->of_node, "hpd-absent-delay-ms", &absent_ms);
716-
desc->delay.hpd_reliable = absent_ms;
716+
desc->delay.hpd_absent = absent_ms;
717717

718718
/* Power the panel on so we can read the EDID */
719719
ret = pm_runtime_get_sync(dev);

0 commit comments

Comments
 (0)