diff mbox

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

Message ID 201303080231.04149.sergei.shtylyov@cogentembedded.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sergei Shtylyov March 7, 2013, 11:31 p.m. UTC
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().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
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(-)

Comments

Kuninori Morimoto March 8, 2013, midnight UTC | #1
Hi Sergei

> 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().
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

> 
> ---
> 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,
>  	},
>  };
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


Best regards
---
Kuninori Morimoto
Simon Horman March 8, 2013, 5:33 a.m. UTC | #2
On Thu, Mar 07, 2013 at 04:00:46PM -0800, Kuninori Morimoto wrote:
> 
> Hi Sergei
> 
> > 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().
> > 
> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

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

Patch

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,
 	},
 };