ARM: AT91SAM9G45: fix crypto peripherals irq issue due to sparse irq support.
Subsystems (5)
PATCH 1/5 ARM: AT91SAM9G45: fix crypto peripherals irq issue due to sparse irq support.
Spare irq support introduced by commit "8fe82a5 ARM: at91: sparse irq support" involves to add the NR_IRQS_LEGACY offset to irq number.
Signed-off-by Nicolas Royer <[email protected]>
Acked-by Nicolas Ferre <[email protected]>
Acked-by Eric B?nard <[email protected]>
Tested-by Eric B?nard <[email protected]>
Cc stable at vger.kernel.org # 3.6
--- arch/arm/mach-at91/at91sam9g45_devices.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/mach-at91/at91sam9g45_devices.c +6 -6
@@ -1841,8 +1841,8 @@ static struct resource sha_resources[] = { .flags = IORESOURCE_MEM, }, [1] = { - .start = AT91SAM9G45_ID_AESTDESSHA, - .end = AT91SAM9G45_ID_AESTDESSHA, + .start = NR_IRQS_LEGACY + AT91SAM9G45_ID_AESTDESSHA, + .end = NR_IRQS_LEGACY + AT91SAM9G45_ID_AESTDESSHA, .flags = IORESOURCE_IRQ, }, };
@@ -1874,8 +1874,8 @@ static struct resource tdes_resources[] = { .flags = IORESOURCE_MEM, }, [1] = { - .start = AT91SAM9G45_ID_AESTDESSHA, - .end = AT91SAM9G45_ID_AESTDESSHA, + .start = NR_IRQS_LEGACY + AT91SAM9G45_ID_AESTDESSHA, + .end = NR_IRQS_LEGACY + AT91SAM9G45_ID_AESTDESSHA, .flags = IORESOURCE_IRQ, }, };
@@ -1910,8 +1910,8 @@ static struct resource aes_resources[] = { .flags = IORESOURCE_MEM, }, [1] = { - .start = AT91SAM9G45_ID_AESTDESSHA, - .end = AT91SAM9G45_ID_AESTDESSHA, + .start = NR_IRQS_LEGACY + AT91SAM9G45_ID_AESTDESSHA, + .end = NR_IRQS_LEGACY + AT91SAM9G45_ID_AESTDESSHA, .flags = IORESOURCE_IRQ, }, };
Signature · 1 line
1.7.6.5
Quoted 8 lines · Nicolas Royer
Spare irq support introduced by commit "8fe82a5 ARM: at91: sparse irq support" involves to add the
NR_IRQS_LEGACYoffset to irq number.Signed-off-by Nicolas Royer <[email protected]>Acked-by Nicolas Ferre <[email protected]>Acked-by Eric B?nard <[email protected]>Tested-by Eric B?nard <[email protected]>Cc stable at vger.kernel.org # 3.6
ok will see if we can have it for 3.7
Best Regards,
J.
On 11/07/2012 04:27 PM, Jean-Christophe PLAGNIOL-VILLARD :
Quoted 11 lines · Nicolas Royer
Quoted 8 lines
Spare irq support introduced by commit "8fe82a5 ARM: at91: sparse irq support" involves to add the
NR_IRQS_LEGACYoffset to irq number.Signed-off-by Nicolas Royer <[email protected]>Acked-by Nicolas Ferre <[email protected]>Acked-by Eric B?nard <[email protected]>Tested-by Eric B?nard <[email protected]>Cc stable at vger.kernel.org # 3.6ok will see if we can have it for 3.7
Queued in our at91-fixes pull request for 3.7-final.
Thanks a lot, best regards,
Signature · 1 line
Nicolas Ferre