summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/am335x-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/am335x-fb.c b/drivers/video/am335x-fb.c
index 4fd3b7f65a..92e37bd1e0 100644
--- a/drivers/video/am335x-fb.c
+++ b/drivers/video/am335x-fb.c
@@ -44,7 +44,7 @@
#define LCD_HFPLSB(x) ((((x) - 1) & GENMASK(7, 0)) << 16)
#define LCD_HSWLSB(x) ((((x) - 1) & GENMASK(5, 0)) << 10)
#define LCD_HORLSB(x) (((((x) >> 4) - 1) & GENMASK(5, 0)) << 4)
-#define LCD_HORMSB(x) (((((x) >> 4)-1) & 0x40) >> 4)
+#define LCD_HORMSB(x) (((((x) >> 4) - 1) & 0x40) >> 4)
/* LCD Timing_1 Register */
#define LCD_VBP(x) (((x) & GENMASK(7, 0)) << 24)
#define LCD_VFP(x) (((x) & GENMASK(7, 0)) << 16)