commit | 685ec6ebcd0edde718d2c95a550bca36563c9055 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan@agner.ch> | Thu Jun 01 19:43:30 2017 -0700 |
committer | Stefan Agner <stefan@agner.ch> | Thu Jun 08 14:59:14 2017 -0700 |
tree | 22f66c075b12e48fc383775957f8e2b533666348 | |
parent | ffe881fba1e8467872fcb926fe2817aedbec2592 [diff] |
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: Stefan Agner <stefan@agner.ch>