Commit fb35c6b6 authored by Thierry Reding's avatar Thierry Reding

drm/tegra: dc: Return planar flag for non-YUV modes

This prevents the compiler from warning about using a variable that is
possibly uninitialized.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent d700ba7a
......@@ -134,6 +134,9 @@ static bool tegra_dc_format_is_yuv(unsigned int format, bool *planar)
return true;
}
if (planar)
*planar = false;
return false;
}
......
Markdown is supported
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