Skip to contentSkip to conversation

ARM: shmobile: R8A7779: use gic_iid() in SATA IRQ resource

PATCH New Sergei Shtylyov 3 participants 3 messages Mar 7, 2013 – Mar 8, 2013 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: R8A7779: use gic_iid() in SATA IRQ resource

Commit "ARM: shmobile: r8a7779: use gic_iid macro" switched R8A7779 platform devices to using gic_iid() macro instead of gic_spi() but commit "ARM: mach-
shmobile: r8a7779: add SATA support" added another use of gic_spi(). Convert the SATA IRQ resource to using gic_iid().

---
This patch is atop of the 'next' branch of Simon Horman's renesas.git.

 arch/arm/mach-shmobile/setup-r8a7779.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: renesas/arch/arm/mach-shmobile/setup-r8a7779.c =================================--- renesas.orig/arch/arm/mach-shmobile/setup-r8a7779.c +++ renesas/arch/arm/mach-shmobile/setup-r8a7779.c
@@ -331,7 +331,7 @@ static struct resource sata_resources[]
.flags = IORESOURCE_MEM,
},
[1] = {
- .start = gic_spi(100),
+ .start = gic_iid(0x84),
.flags = IORESOURCE_IRQ,
},
};

#1 lore raw

PATCH 1/1 ARM: shmobile: R8A7779: use gic_iid() in SATA IRQ resource

Hi Sergei

Quoted 6 lines

Commit "ARM: shmobile: r8a7779: use gic_iid macro" switched R8A7779 platform devices to using gic_iid() macro instead of gic_spi() but commit "ARM: mach-
shmobile: r8a7779: add SATA support" added another use of gic_spi(). Convert the SATA IRQ resource to using gic_iid().

Quoted 21 lines

---
This patch is atop of the 'next' branch of Simon Horman's renesas.git.

 arch/arm/mach-shmobile/setup-r8a7779.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: renesas/arch/arm/mach-shmobile/setup-r8a7779.c
===================================================================

arch/arm/mach-shmobile/setup-r8a7779.c +1 -2
@@ -331,7 +331,7 @@ static struct resource sata_resources[] 
 		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
-		.start	= gic_spi(100),
+		.start	= gic_iid(0x84),
 		.flags	= IORESOURCE_IRQ,
 	},
 };
--
Quoted 3 lines

To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Best regards
---
Kuninori Morimoto

#2 lore raw

PATCH 1/1 ARM: shmobile: R8A7779: use gic_iid() in SATA IRQ resource

Quoted 11 lines · Kuninori Morimoto

Hi Sergei

Quoted 6 lines

Commit "ARM: shmobile: r8a7779: use gic_iid macro" switched R8A7779 platform devices to using gic_iid() macro instead of gic_spi() but commit "ARM: mach-
shmobile: r8a7779: add SATA support" added another use of gic_spi(). Convert the SATA IRQ resource to using gic_iid().

Thanks, I have applied this to the soc5 branch and thus queued it up for v3.10.