aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-15 14:17:27 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-15 14:36:47 +0200
commit3a75777e8670f12b430e709649f21f1a37eebab7 (patch)
tree486e58d20d838ce0efd9e7d6da1d42b7f8d427bb /target/linux/lantiq/patches-4.4/0047-irq-fixes.patch
parentad76366d7ddfe83a0ca2f28d4104697e81c3c3cd (diff)
downloadupstream-3a75777e8670f12b430e709649f21f1a37eebab7.tar.gz
upstream-3a75777e8670f12b430e709649f21f1a37eebab7.tar.bz2
upstream-3a75777e8670f12b430e709649f21f1a37eebab7.zip
lantiq: refresh patches
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/lantiq/patches-4.4/0047-irq-fixes.patch')
-rw-r--r--target/linux/lantiq/patches-4.4/0047-irq-fixes.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch b/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch
index f11e057a80..9efa63d35a 100644
--- a/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch
+++ b/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/lantiq/irq.c
+++ b/arch/mips/lantiq/irq.c
-@@ -67,7 +67,7 @@
+@@ -67,7 +67,7 @@ int gic_present;
#endif
static int exin_avail;
@@ -9,7 +9,7 @@
static void __iomem *ltq_icu_membase[MAX_IM];
static void __iomem *ltq_eiu_membase;
static struct irq_domain *ltq_domain;
-@@ -76,7 +76,7 @@
+@@ -76,7 +76,7 @@ static int ltq_perfcount_irq;
int ltq_eiu_get_irq(int exin)
{
if (exin < exin_avail)
@@ -18,7 +18,7 @@
return -1;
}
-@@ -128,7 +128,7 @@
+@@ -128,7 +128,7 @@ static int ltq_eiu_settype(struct irq_da
int i;
for (i = 0; i < MAX_EIU; i++) {
@@ -27,7 +27,7 @@
int val = 0;
int edge = 0;
-@@ -176,7 +176,7 @@
+@@ -176,7 +176,7 @@ static unsigned int ltq_startup_eiu_irq(
ltq_enable_irq(d);
for (i = 0; i < MAX_EIU; i++) {
@@ -36,7 +36,7 @@
/* by default we are low level triggered */
ltq_eiu_settype(d, IRQF_TRIGGER_LOW);
/* clear all pending */
-@@ -198,7 +198,7 @@
+@@ -198,7 +198,7 @@ static void ltq_shutdown_eiu_irq(struct
ltq_disable_irq(d);
for (i = 0; i < MAX_EIU; i++) {
@@ -45,7 +45,7 @@
/* disable */
ltq_eiu_w32(ltq_eiu_r32(LTQ_EIU_EXIN_INEN) & ~BIT(i),
LTQ_EIU_EXIN_INEN);
-@@ -343,10 +343,10 @@
+@@ -343,10 +343,10 @@ static int icu_map(struct irq_domain *d,
return 0;
for (i = 0; i < exin_avail; i++)
@@ -58,7 +58,7 @@
return 0;
}
-@@ -441,14 +441,14 @@
+@@ -441,14 +441,14 @@ int __init icu_of_init(struct device_nod
eiu_node = of_find_compatible_node(NULL, NULL, "lantiq,eiu-xway");
if (eiu_node && !of_address_to_resource(eiu_node, 0, &res)) {
/* find out how many external irq sources we have */