Skip to content
Commit 8f62142e authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: dc: Properly cleanup overlay planes



The first overlay plane can leak if initialization of the second overlay
plane fails. Fix this by properly destroying the first overlay plane on
error.

Suggested-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 89f65018
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