projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/gpu/drm/tegra/dc.c
b/drivers/gpu/drm/tegra/dc.c
index a56fccc428d506ac9b753031bf33b8a6d5f8f31d..c2ab1a2da6a330196e6e19913204d1d37c2e10a5 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;
}