Commit 9e75894c authored by Michael Hennerich's avatar Michael Hennerich Committed by Mike Frysinger

Blackfin: boards: use proper irq flags with isp1362-hcd

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: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 657bb918
...@@ -400,7 +400,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -400,7 +400,7 @@ static struct resource isp1362_hcd_resources[] = {
}, { }, {
.start = IRQ_PF4, .start = IRQ_PF4,
.end = IRQ_PF4, .end = IRQ_PF4,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
...@@ -232,7 +232,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -232,7 +232,7 @@ static struct resource isp1362_hcd_resources[] = {
},{ },{
.start = IRQ_PF11, .start = IRQ_PF11,
.end = IRQ_PF11, .end = IRQ_PF11,
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
...@@ -229,7 +229,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -229,7 +229,7 @@ static struct resource isp1362_hcd_resources[] = {
}, { }, {
.start = IRQ_PG15, .start = IRQ_PG15,
.end = IRQ_PG15, .end = IRQ_PG15,
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
...@@ -230,7 +230,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -230,7 +230,7 @@ static struct resource isp1362_hcd_resources[] = {
}, { }, {
.start = IRQ_PG15, .start = IRQ_PG15,
.end = IRQ_PG15, .end = IRQ_PG15,
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
...@@ -264,7 +264,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -264,7 +264,7 @@ static struct resource isp1362_hcd_resources[] = {
}, { }, {
.start = IRQ_PF3, .start = IRQ_PF3,
.end = IRQ_PF3, .end = IRQ_PF3,
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
...@@ -230,7 +230,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -230,7 +230,7 @@ static struct resource isp1362_hcd_resources[] = {
}, { }, {
.start = IRQ_PG15, .start = IRQ_PG15,
.end = IRQ_PG15, .end = IRQ_PG15,
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
...@@ -278,7 +278,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -278,7 +278,7 @@ static struct resource isp1362_hcd_resources[] = {
}, { }, {
.start = IRQ_PF47, .start = IRQ_PF47,
.end = IRQ_PF47, .end = IRQ_PF47,
.flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
...@@ -74,7 +74,7 @@ static struct resource isp1362_hcd_resources[] = { ...@@ -74,7 +74,7 @@ static struct resource isp1362_hcd_resources[] = {
}, { }, {
.start = IRQ_PF8, .start = IRQ_PF8,
.end = IRQ_PF8, .end = IRQ_PF8,
.flags = IORESOURCE_IRQ, .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment