projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d700ba7
)
drm/tegra: dc: Return planar flag for non-YUV modes
author
Thierry Reding
<treding@nvidia.com>
Mon, 8 Dec 2014 14:55:28 +0000
(15:55 +0100)
committer
Thierry Reding
<treding@nvidia.com>
Tue, 27 Jan 2015 09:14:37 +0000
(10:14 +0100)
This prevents the compiler from warning about using a variable that is
possibly uninitialized.
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tegra/dc.c
b/drivers/gpu/drm/tegra/dc.c
index
a56fccc
..
c2ab1a2
100644
(file)
--- a/
drivers/gpu/drm/tegra/dc.c
+++ b/
drivers/gpu/drm/tegra/dc.c
@@
-134,6
+134,9
@@
static bool tegra_dc_format_is_yuv(unsigned int format, bool *planar)
return true;
}
+ if (planar)
+ *planar = false;
+
return false;
}