drm/tilcdc: remove broken error handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 20 Oct 2015 09:04:05 +0000 (12:04 +0300)
committerJyri Sarha <jsarha@ti.com>
Thu, 25 Feb 2016 14:39:39 +0000 (16:39 +0200)
commit31ec5a2c7eed3a3e182a592591f4fb04304668a1
treed9abcead4263cb9d7653a1878b5efd21da5640ad
parent2efec4f3064d084bac1b2c1e1513a7452e8e245d
drm/tilcdc: remove broken error handling

Remove broken error handling. The condition for handling the
LCDC_SYNC_LOST and LCDC_FIFO_UNDERFLOW could never be satisfied as the
LCDC_SYNC_LOST interrupt is not enabled. Also the requirement to have
both LCDC_SYNC_LOST and LCDC_FIFO_UNDERFLOW fired at once before
handling the error looks weird.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[Added description to the patch]
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c