Skip to content
Commit 685ec6eb authored by Stefan Agner's avatar Stefan Agner
Browse files

drm/fsl-dcu: implement irq_preinstall/uninstall callbacks



Make use of the irq_preinstall/uninstall callback to clear and
mask all interrupts. Use write 1 to clear as documented by the
data sheet (writing a 0 seems to have cleared interrupt status
too). Remove fsl_dcu_drm_irq_init and call drm_irq_install
directly from fsl_dcu_load makes error handling a bit simpler.
Do not set irq_enabled since drm_irq_install is taking care of
it.

Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
parent ffe881fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment