Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 123f5f18 authored by Adrian McMenamin's avatar Adrian McMenamin Committed by Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1254d1db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -890,7 +890,7 @@ static int __init pvr2fb_dc_init(void)
	pvr2_fix.mmio_start	= 0xa05f8000;	/* registers start here */
	pvr2_fix.mmio_len	= 0x2000;

	if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, 0,
	if (request_irq(HW_EVENT_VSYNC, pvr2fb_interrupt, IRQF_SHARED,
	                "pvr2 VBL handler", fb_info)) {
		return -EBUSY;
	}