Commit e0ee7939ee02b17c8ad929710321e5c33328b77f
1 parent
70b1e9ea8c
Exists in
master
video: da8xx-fb: Add debug message on sync and underflow error
Patch adds useful debug message on LCDC syn and underflow error. Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
drivers/video/da8xx-fb.c
... | ... | @@ -769,6 +769,7 @@ |
769 | 769 | u32 reg_int; |
770 | 770 | |
771 | 771 | if ((stat & LCD_SYNC_LOST) && (stat & LCD_FIFO_UNDERFLOW)) { |
772 | + printk(KERN_ERR "LCDC sync lost or underflow error occured\n"); | |
772 | 773 | lcd_disable_raster(); |
773 | 774 | clk_disable(par->lcdc_clk); |
774 | 775 | lcdc_write(stat, LCD_MASKED_STAT_REG); |
... | ... | @@ -832,6 +833,7 @@ |
832 | 833 | u32 reg_ras; |
833 | 834 | |
834 | 835 | if ((stat & LCD_SYNC_LOST) && (stat & LCD_FIFO_UNDERFLOW)) { |
836 | + printk(KERN_ERR "LCDC sync lost or underflow error occured\n"); | |
835 | 837 | lcd_disable_raster(); |
836 | 838 | clk_disable(par->lcdc_clk); |
837 | 839 | lcdc_write(stat, LCD_STAT_REG); |