diff options
author | Adrian McMenamin <adrian@mcmen.demon.co.uk> | 2007-09-09 23:01:42 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-20 22:57:51 -0400 |
commit | 123f5f188638bfc673aca22ade64b863ec3a2804 (patch) | |
tree | f1fb369293bfd74aaa123ea58d119090d42e6abd /drivers/video/pvr2fb.c | |
parent | 1254d1db11d8528558613fde5b89eb09306f50a3 (diff) |
fb: pvr2fb: Shared IRQ for dreamcast pvr2.
The maple bus driver (http://lkml.org/lkml/2007/9/4/165) uses hardware
synchronisation between the maple bus and the VBLANK to poll the maple
bus. This patch makes the interrupt shareable.
By definition the interrupt is for both devices.
Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/pvr2fb.c')
-rw-r--r-- | drivers/video/pvr2fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c index 7d6c29800d14..13de07f63c2b 100644 --- a/drivers/video/pvr2fb.c +++ b/drivers/video/pvr2fb.c | |||
@@ -890,7 +890,7 @@ static int __init pvr2fb_dc_init(void) | |||
890 | pvr2_fix.mmio_start = 0xa05f8000; /* registers start here */ | 890 | pvr2_fix.mmio_start = 0xa05f8000; /* registers start here */ |
891 | pvr2_fix.mmio_len = 0x2000; | 891 | pvr2_fix.mmio_len = 0x2000; |
892 | 892 | ||
893 | if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, 0, | 893 | if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, IRQF_SHARED, |
894 | "pvr2 VBL handler", fb_info)) { | 894 | "pvr2 VBL handler", fb_info)) { |
895 | return -EBUSY; | 895 | return -EBUSY; |
896 | } | 896 | } |