aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorGravatar Wolfram Sang <wsa+renesas@sang-engineering.com> 2018-02-05 21:09:59 +0100
committerGravatar Inki Dae <inki.dae@samsung.com> 2018-02-20 09:16:18 +0900
commit1293b6191010672c0c9dacae8f71c6f3e4d70cbe (patch)
tree10b023c68bbde807fc9bfc4904effa360dff25c3 /drivers/gpu
parentdrm/exynos: g2d: use monotonic timestamps (diff)
downloadlinux-1293b6191010672c0c9dacae8f71c6f3e4d70cbe.tar.gz
linux-1293b6191010672c0c9dacae8f71c6f3e4d70cbe.tar.bz2
linux-1293b6191010672c0c9dacae8f71c6f3e4d70cbe.zip
drm/exynos: fix comparison to bitshift when dealing with a mask
Due to a typo, the mask was destroyed by a comparison instead of a bit shift. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/exynos/regs-fimc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/regs-fimc.h b/drivers/gpu/drm/exynos/regs-fimc.h
index 30496134a3d0..d7cbe53c4c01 100644
--- a/drivers/gpu/drm/exynos/regs-fimc.h
+++ b/drivers/gpu/drm/exynos/regs-fimc.h
@@ -569,7 +569,7 @@
#define EXYNOS_CIIMGEFF_FIN_EMBOSSING (4 << 26)
#define EXYNOS_CIIMGEFF_FIN_SILHOUETTE (5 << 26)
#define EXYNOS_CIIMGEFF_FIN_MASK (7 << 26)
-#define EXYNOS_CIIMGEFF_PAT_CBCR_MASK ((0xff < 13) | (0xff < 0))
+#define EXYNOS_CIIMGEFF_PAT_CBCR_MASK ((0xff << 13) | (0xff << 0))
/* Real input DMA size register */
#define EXYNOS_CIREAL_ISIZE_AUTOLOAD_ENABLE (1 << 31)