projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0fcf43
)
drm/exynos: use logical AND in exynos_drm_plane_check_size()
author
Tobias Jakobi
<tjakobi@math.uni-bielefeld.de>
Wed, 25 May 2016 12:30:07 +0000
(14:30 +0200)
committer
Inki Dae
<daeinki@gmail.com>
Sun, 19 Jun 2016 05:37:28 +0000
(14:37 +0900)
The current bitwise AND should result in the same assembler
but this is what the code is actually supposed to do.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_plane.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_drm_plane.c
b/drivers/gpu/drm/exynos/exynos_drm_plane.c
index
55f1d37
..
77f12c0
100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_drm_plane.c
+++ b/
drivers/gpu/drm/exynos/exynos_drm_plane.c
@@
-242,7
+242,7
@@
exynos_drm_plane_check_size(const struct exynos_drm_plane_config *config,
state->v_ratio == (1 << 15))
height_ok = true;
- if (width_ok & height_ok)
+ if (width_ok &
&
height_ok)
return 0;
DRM_DEBUG_KMS("scaling mode is not supported");