]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
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 c3954634dc397f3b8d0cd67ffc19c50acead3499..adbe62a81e25fd368219c224ea213a531974f60c 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 b8474cac6b03f3470b144629d0e2067ef054044b..5ba4b02a12ebbcad6e5d2fd67fe45ed47c590779 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 8a89df4c870bf8f145b4fe68deaedbf92638870d..e2e7be40ef44cca5c6c160c48ca38e64f80aa74b 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 9db587e634d32af2c42e57e35013b794782759ff..752c833f7ca8f93bd195565ec2e45f8c71e210e5 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 126a40756b5002858ba40ce934bbd4a3d04525e2..9c83b52ff6bc4b63450423248addcd55f5b6c83a 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 bc221fd77b29465203243254889d04cadc7ef8a6..a4d62b5fc7ba11390e358665b06d65bea854e4e2 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 53525e2e5abd09e49a324c9f68b803d7d8ac91f6..087b6b05cc73372dbadc4d1fcf56dfe09a10f630 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 3232ae95c1594ea430246869acf8b64a1c29f681..51b80ec8af6fd74e2e9c716ac9789f71f2ee6f63 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,
        },
 };