On Thu, 17 Jan 2013 16:20:04 -0600
Timur Tabi [off-list ref] wrote:
...
This is why you need hacks like can_handle_irq. So I'm not crazy about
this patch. I think you need to get rid of can_handle_irq and allow the
interrupt handler to be registered before the hardware is initialized.
It makes sense. More testing shows that disabling interrupts in
fsl_diu_release() needs to be fixed, too. If the fb0 plane is opened
(i.e. by fbcon) and another app opens an overlay plane i.e. on /dev/fb1
and then closes it, the diu interrupts will be disabled, even though the
first plane is still opened.
Thanks,
Anatolij