aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2013-08-05 18:02:32 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-08-09 07:02:42 -0400
commite4008e2240605a64d595f3b9e070bfaf5a6950ff (patch)
treea500530f78eb7facf8c1686d18839e01e0c677c4 /drivers/video
parentfa8a00cc732fbd890bb4ac5af237ac6774c9545b (diff)
video: da8xx-fb: enable sync lost intr for v2 ip
The interrupt handler explicitly has code that handles the sync lost interrupt. However the sync lost interrupt is never actually being enabled in the LCD controller, therefore this interrupt code path is not being exercised. This fix simply enables the generation of the sync lost interrupt by the LCD controller so it can be dealt with appropriately by the interrupt handler. Signed-off-by: Afzal Mohammed <afzal@ti.com> Signed-off-by: Darren Etheridge <detheridge@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/da8xx-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index 893aefe25478..8384455164d7 100644
--- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c
@@ -320,7 +320,7 @@ static void lcd_blit(int load_mode, struct da8xx_fb_par *par)
320 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | 320 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) |
321 LCD_V2_END_OF_FRAME0_INT_ENA | 321 LCD_V2_END_OF_FRAME0_INT_ENA |
322 LCD_V2_END_OF_FRAME1_INT_ENA | 322 LCD_V2_END_OF_FRAME1_INT_ENA |
323 LCD_FRAME_DONE; 323 LCD_FRAME_DONE | LCD_SYNC_LOST;
324 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG); 324 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG);
325 } 325 }
326 reg_dma |= LCD_DUAL_FRAME_BUFFER_ENABLE; 326 reg_dma |= LCD_DUAL_FRAME_BUFFER_ENABLE;