Skip to content

Commit 004d271

Browse files
achrisanmlankhorst
authored andcommitted
drm/kmb: Corrected typo in handle_lcd_irq
Check for Overflow bits for layer3 in the irq handler. Fixes: 7f7b96a ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Anitha Chrisanthus <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maarten Lankhorst <[email protected]>
1 parent 982f8ad commit 004d271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/kmb/kmb_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ static irqreturn_t handle_lcd_irq(struct drm_device *dev)
380380
if (val & LAYER3_DMA_FIFO_UNDERFLOW)
381381
drm_dbg(&kmb->drm,
382382
"LAYER3:GL1 DMA UNDERFLOW val = 0x%lx", val);
383-
if (val & LAYER3_DMA_FIFO_UNDERFLOW)
383+
if (val & LAYER3_DMA_FIFO_OVERFLOW)
384384
drm_dbg(&kmb->drm,
385385
"LAYER3:GL1 DMA OVERFLOW val = 0x%lx", val);
386386
}

0 commit comments

Comments
 (0)