drm/tilcdc: Write to LCDC_END_OF_INT_IND_REG at the end of IRQ function
authorJyri Sarha <jsarha@ti.com>
Thu, 7 Apr 2016 17:36:48 +0000 (20:36 +0300)
committerJyri Sarha <jsarha@ti.com>
Mon, 8 Aug 2016 20:04:50 +0000 (23:04 +0300)
commit149441134c4ae4ebff393ca113f0941842385a6b
treed0ae346cf9c449e744f20afd9a562e10aee8f865
parent1abcdac8ed4cf2335f050d88b2fe8f343726ed41
drm/tilcdc: Write to LCDC_END_OF_INT_IND_REG at the end of IRQ function

Reorder the IRQ function so that the write to LCDC_END_OF_INT_IND_REG
is done last. The write to LCDC_END_OF_INT_IND_REG indicates to LCDC
that the interrupt service routine has completed (see section
13.3.6.1.6 in AM335x TRM). This is needed if LCDC's ipgvmodirq module
is configured for pulse interrupts.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c