Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment