]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: DSI: cleanup DSI_IRQ_ERROR_MASK define
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 23 Nov 2015 18:22:36 +0000 (21:22 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 29 Dec 2015 09:06:30 +0000 (11:06 +0200)
DSI_IRQ_SYNC_LOST was ORed twice so we can remove one.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dsi.c

index 59065e18444d04098fcc37dab332555aa19ef72a..43be4b2a7b05150c5cac36a6d463cd2caa5ecb07 100644 (file)
@@ -144,7 +144,7 @@ struct dsi_reg { u16 module; u16 idx; };
 #define DSI_IRQ_TA_TIMEOUT     (1 << 20)
 #define DSI_IRQ_ERROR_MASK \
        (DSI_IRQ_HS_TX_TIMEOUT | DSI_IRQ_LP_RX_TIMEOUT | DSI_IRQ_SYNC_LOST | \
-       DSI_IRQ_TA_TIMEOUT | DSI_IRQ_SYNC_LOST)
+       DSI_IRQ_TA_TIMEOUT)
 #define DSI_IRQ_CHANNEL_MASK   0xf
 
 /* Virtual channel interrupts */