[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1457915631-16696-5-git-send-email-andrew@lunn.ch>
Date: Mon, 14 Mar 2016 01:33:47 +0100
From: Andrew Lunn <andrew@...n.ch>
To: netdev <netdev@...r.kernel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Jason Cooper <jason@...edaemon.net>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc: Andrew Lunn <andrew@...n.ch>
Subject: [RFC PATCH 4/8] dsa: mv88e6171: Wire up the mv88e6xxx interrupt code
Make use of the shared interrupt code, so for example phy interrupts
can be passed onto the phylib.
Signed-off-by: Andrew Lunn <andrew@...n.ch>
---
drivers/net/dsa/mv88e6171.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dsa/mv88e6171.c b/drivers/net/dsa/mv88e6171.c
index d72ccbdf53ec..5ed174ff533f 100644
--- a/drivers/net/dsa/mv88e6171.c
+++ b/drivers/net/dsa/mv88e6171.c
@@ -83,7 +83,11 @@ static int mv88e6171_setup(struct dsa_switch *ds)
if (ret < 0)
return ret;
- return mv88e6xxx_setup_ports(ds);
+ ret = mv88e6xxx_setup_ports(ds);
+ if (ret < 0)
+ return ret;
+
+ return mv88e6xxx_setup_irqs(ds);
}
struct dsa_switch_driver mv88e6171_switch_driver = {
--
2.7.0
Powered by blists - more mailing lists