omapfb: dispc: allow multiple external IRQ handlers
authorDaniel Stone <daniel.stone@nokia.com>
Tue, 22 Sep 2009 23:46:57 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:50 +0000 (07:39 -0700)
commit4c88ef170f0f9b1f26923b43af526c973c5a74da
tree358d55e961ad7c4d20143c52e7ae511326ffd879
parent48a00e7fe9a6abeedb62c99ca7b7860754aae3d8
omapfb: dispc: allow multiple external IRQ handlers

Previously, the only external (to dispc.c) IRQ handler was RFBI's frame
done handler.  dispc's IRQ framework was very dumb: you could only have
one handler, and the semantics of {request,free}_irq were odd, to say the
least.

The new framework allows multiple consumers to register arbitrary IRQ
masks.

Signed-off-by: Daniel Stone <daniel.stone@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/omap/dispc.c
drivers/video/omap/dispc.h
drivers/video/omap/rfbi.c