Skip to content
Commit 9e48854c authored by Sachin Kamat's avatar Sachin Kamat Committed by Dave Airlie
Browse files

drm/tilcdc: Fix an incorrect condition



Instead of checking if num_encoders is zero, it is being assigned 0.
Convert the assignment to a check.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e6637d54
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