Skip to content
Commit a2b8b34d authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
Browse files

drm/vc4: Correct DSI divider calculations



The divider calculations tried to find the divider
just faster than the clock requested. However if
it required a divider of 7 then the for loop
aborted without handling the "error" case, and could
end up with a clock lower than requested.

Correct the loop so that we always have a clock greater
than requested.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 7043c2b9
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