Error and operation IRQs are swapped in kzm9g platform data, this patch
fixes their order. The only problem this bug causes is the confusing IRQ 
count in /proc/interrupts output, otherwise functionality is unaffected, 
since the driver doesn't really differentiate between the two IRQs.

Signed-off-by: Guennadi Liakhovetski <g.liakhovet...@gmx.de>
---

The error is easy to see in /proc/interrupts output, kota2 has the correct 
IRQ assignment, ag5evm has the same problem, as kzm9g, so, it might need 
fixing too. I certainly could cook up a similar trivial patch for it, but 
someone will have to test it.

 arch/arm/mach-shmobile/board-kzm9g.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-kzm9g.c 
b/arch/arm/mach-shmobile/board-kzm9g.c
index 29cca80..21c90c4 100644
--- a/arch/arm/mach-shmobile/board-kzm9g.c
+++ b/arch/arm/mach-shmobile/board-kzm9g.c
@@ -346,11 +346,11 @@ static struct resource sh_mmcif_resources[] = {
                .flags  = IORESOURCE_MEM,
        },
        [1] = {
-               .start  = gic_spi(141),
+               .start  = gic_spi(140),
                .flags  = IORESOURCE_IRQ,
        },
        [2] = {
-               .start  = gic_spi(140),
+               .start  = gic_spi(141),
                .flags  = IORESOURCE_IRQ,
        },
 };
-- 
1.7.2.5

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

Reply via email to