Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 230c5b44 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Thierry Reding
Browse files

drm/panel: simple: Check against num_timings when setting preferred for timing

In the loop on .timings, we should check .num_timings to see if it's the
only mode specified, not .num_modes, which should be used with .modes.

Fixes: cda55372

 ("drm/panel: simple: Set appropriate mode type")
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 2cb35c80
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment