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

Commit 69e7ea04 authored by Nicolas Ferre's avatar Nicolas Ferre
Browse files

ARM: at91: fix external interrupt specification in board code



Since the switch to sparse irq, we have to add the NR_IRQS_LEGACY
offset to static irq numbers. It has been forgotten on these
SPI irq definitions in board code.

Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Cc: stable <stable@vger.kernel.org> [v3.6]
parent 738a0fd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ static struct spi_board_info neocore926_spi_devices[] = {
		.max_speed_hz	= 125000 * 16,
		.bus_num	= 0,
		.platform_data	= &ads_info,
		.irq		= AT91SAM9263_ID_IRQ1,
		.irq		= NR_IRQS_LEGACY + AT91SAM9263_ID_IRQ1,
	},
#endif
};
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ static struct spi_board_info ek_spi_devices[] = {
		.max_speed_hz	= 125000 * 26,	/* (max sample rate @ 3V) * (cmd + data + overhead) */
		.bus_num	= 0,
		.platform_data	= &ads_info,
		.irq		= AT91SAM9261_ID_IRQ0,
		.irq		= NR_IRQS_LEGACY + AT91SAM9261_ID_IRQ0,
		.controller_data = (void *) AT91_PIN_PA28,	/* CS pin */
	},
#endif
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ static struct spi_board_info ek_spi_devices[] = {
		.max_speed_hz	= 125000 * 26,	/* (max sample rate @ 3V) * (cmd + data + overhead) */
		.bus_num	= 0,
		.platform_data	= &ads_info,
		.irq		= AT91SAM9263_ID_IRQ1,
		.irq		= NR_IRQS_LEGACY + AT91SAM9263_ID_IRQ1,
	},
#endif
};