Skip to contentSkip to conversation

ARM: ep93xx: convert vision_ep9307 to MULTI_IRQ_HANDLER

PATCH Applied H Hartley Sweeten 2 participants 3 messages Mar 2, 2012 – Mar 6, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

As done for the other ep93xx machines in:

commit 9a6879bd902e2ec605fff4d9fb3247b440a1f66a
ARM: ep93xx: convert to MULTI_IRQ_HANDLER

Now that there is a generic IRQ handler for multiple VIC devices use it for vision_ep9307 to help building multi platform kernels.

---

arch/arm/mach-ep93xx/vision_ep9307.c +2 -0
index d5fb44f..d67d0b4 100644
@@ -34,6 +34,7 @@
 #include <mach/ep93xx_spi.h>
 #include <mach/gpio-ep93xx.h>
 
+#include <asm/hardware/vic.h>
 #include <asm/mach-types.h>
 #include <asm/mach/map.h>
 #include <asm/mach/arch.h>
@@ -361,6 +362,7 @@ MACHINE_START(VISION_EP9307, "Vision Engraving Systems EP9307")
 	.atag_offset	= 0x100,
 	.map_io		= vision_map_io,
 	.init_irq	= ep93xx_init_irq,
+	.handle_irq	= vic_handle_irq,
 	.timer		= &ep93xx_timer,
 	.init_machine	= vision_init_machine,
 	.restart	= ep93xx_restart,
#1 lore raw

ep93xx: convert vision_ep9307 to MULTI_IRQ_HANDLER

Quoted 11 lines · H Hartley Sweeten

As done for the other ep93xx machines in:

commit 9a6879bd902e2ec605fff4d9fb3247b440a1f66a
ARM: ep93xx: convert to MULTI_IRQ_HANDLER

Now that there is a generic IRQ handler for multiple VIC devices use it for vision_ep9307 to help building multi platform kernels.

Arnd,

Could you merge this into linux-next?

It needs to go in when commit 9a6879bd902e2ec605fff4d9fb3247b440a1f66a is merged into mainline. Otherwise the vision_ep9307 machine will not work.

Thanks,
Hartley

Quoted 22 lines

---

arch/arm/mach-ep93xx/vision_ep9307.c +2 -0
index d5fb44f..d67d0b4 100644
@@ -34,6 +34,7 @@
 #include <mach/ep93xx_spi.h>
 #include <mach/gpio-ep93xx.h>
 
+#include <asm/hardware/vic.h>
 #include <asm/mach-types.h>
 #include <asm/mach/map.h>
 #include <asm/mach/arch.h>
@@ -361,6 +362,7 @@ MACHINE_START(VISION_EP9307, "Vision Engraving Systems EP9307")
 	.atag_offset	= 0x100,
 	.map_io		= vision_map_io,
 	.init_irq	= ep93xx_init_irq,
+	.handle_irq	= vic_handle_irq,
 	.timer		= &ep93xx_timer,
 	.init_machine	= vision_init_machine,
 	.restart	= ep93xx_restart,
#2 lore raw

ep93xx: convert vision_ep9307 to MULTI_IRQ_HANDLER

Quoted 13 lines · H Hartley Sweeten
Quoted 11 lines · H Hartley Sweeten

As done for the other ep93xx machines in:

commit 9a6879bd902e2ec605fff4d9fb3247b440a1f66a
ARM: ep93xx: convert to MULTI_IRQ_HANDLER

Now that there is a generic IRQ handler for multiple VIC devices use it for vision_ep9307 to help building multi platform kernels.

Quoted 6 lines

Arnd,

Could you merge this into linux-next?

It needs to go in when commit 9a6879bd902e2ec605fff4d9fb3247b440a1f66a is merged into mainline. Otherwise the vision_ep9307 machine will not work.

Applied to the fixes branch now, will send it out soon.

Thanks,

Arnd