Skip to contentSkip to conversation

video: da8xx-fb: enable sync lost intr for v2 ip

PATCH Superseded Darren Etheridge 2 participants 2 messages Jun 25, 2013 – Jun 26, 2013 Framebuffer layer

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 13/23 video: da8xx-fb: enable sync lost intr for v2 ip

From: Afzal Mohammed <[email protected]>

interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it.

---
 drivers/video/da8xx-fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/da8xx-fb.c +1 -1
index 7f92f37..ca69e01 100644
@@ -318,7 +318,7 @@ static void lcd_blit(int load_mode, struct da8xx_fb_par *par)
 			reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) |
 				LCD_V2_END_OF_FRAME0_INT_ENA |
 				LCD_V2_END_OF_FRAME1_INT_ENA |
-				LCD_FRAME_DONE;
+				LCD_FRAME_DONE | LCD_SYNC_LOST;
 			lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG);
 		}
 		reg_dma |= LCD_DUAL_FRAME_BUFFER_ENABLE;
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 7 lines · Darren Etheridge

From: Afzal Mohammed <[email protected]>

interrupt handler is checking for sync lost interrupt, but it was not enabled, enable it.

If the patch is a fix, say that it's a fix. Tell what the bug is, what symptoms it causes and how it's fixed.

I really dislike too terse commit descriptions. The descriptions should be as short as possible, but no shorter! =). For this one, I guess just a few more lines would be enough.

Tomi