Blackfin: boards: use proper irq flags with isp1362-hcd
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 18 Mar 2010 12:51:49 +0000 (12:51 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2010 07:48:45 +0000 (03:48 -0400)
With the recent kernel update the isp1362-hcd driver evaluates the
IORESOURCE_IRQ resource flags and requests the irq with the given
polarity/edge settings.  However the ISP1362 config requires low
level/edge interrupts.  Most of the Blackfin boards use some random
flag or no flag at all.  Make all boards use a know good flag
IORESOURCE_IRQ_LOWEDGE.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf533/boards/cm_bf533.c
arch/blackfin/mach-bf533/boards/ip0x.c
arch/blackfin/mach-bf537/boards/cm_bf537e.c
arch/blackfin/mach-bf537/boards/cm_bf537u.c
arch/blackfin/mach-bf537/boards/stamp.c
arch/blackfin/mach-bf537/boards/tcm_bf537.c
arch/blackfin/mach-bf561/boards/cm_bf561.c
arch/blackfin/mach-bf561/boards/ezkit.c

index c395463..adbe62a 100644 (file)
@@ -400,7 +400,7 @@ static struct resource isp1362_hcd_resources[] = {
        }, {
                .start = IRQ_PF4,
                .end = IRQ_PF4,
-               .flags = IORESOURCE_IRQ,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };
 
index b8474ca..5ba4b02 100644 (file)
@@ -232,7 +232,7 @@ static struct resource isp1362_hcd_resources[] = {
        },{
                .start = IRQ_PF11,
                .end   = IRQ_PF11,
-               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };
 
index 8a89df4..e2e7be4 100644 (file)
@@ -229,7 +229,7 @@ static struct resource isp1362_hcd_resources[] = {
        }, {
                .start = IRQ_PG15,
                .end = IRQ_PG15,
-               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };
 
index 9db587e..752c833 100644 (file)
@@ -230,7 +230,7 @@ static struct resource isp1362_hcd_resources[] = {
        }, {
                .start = IRQ_PG15,
                .end = IRQ_PG15,
-               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };
 
index 126a407..9c83b52 100644 (file)
@@ -264,7 +264,7 @@ static struct resource isp1362_hcd_resources[] = {
        }, {
                .start = IRQ_PF3,
                .end = IRQ_PF3,
-               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };
 
index bc221fd..a4d62b5 100644 (file)
@@ -230,7 +230,7 @@ static struct resource isp1362_hcd_resources[] = {
        }, {
                .start = IRQ_PG15,
                .end = IRQ_PG15,
-               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };
 
index 53525e2..087b6b0 100644 (file)
@@ -278,7 +278,7 @@ static struct resource isp1362_hcd_resources[] = {
        }, {
                .start = IRQ_PF47,
                .end = IRQ_PF47,
-               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };
 
index 3232ae9..51b80ec 100644 (file)
@@ -74,7 +74,7 @@ static struct resource isp1362_hcd_resources[] = {
        }, {
                .start = IRQ_PF8,
                .end = IRQ_PF8,
-               .flags = IORESOURCE_IRQ,
+               .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
        },
 };