drm/omap: dmm_tiler: Fix interrupt request/free sequence during probe/remove
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 26 Sep 2018 09:11:29 +0000 (12:11 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 2 Oct 2018 06:36:56 +0000 (09:36 +0300)
commit176c866d40551565e78893fc0cb2bc8eed7b3c80
treeff277e2240cc3603b5de4fe701ca208f92248cfa
parent157aa884c90647390917e080176bedc9d0253357
drm/omap: dmm_tiler: Fix interrupt request/free sequence during probe/remove

The interrupts should be enabled after the driver initialization to avoid
early interrupts while the driver is not yet ready to handle them.

On removal the interrupts must be disabled before other resources are
released, freed up.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c