commit | ae14cafc933b977f368ea7510d3b50b9ad5e1fc6 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu Jan 18 17:42:50 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 19 15:57:02 2018 -0500 |
tree | 714c3c25647f916423b042953c2d59e96dc78de1 | |
parent | 9b662a3ec21221f2500e8009c849abf9c0136b99 [diff] |
net: dsa: mv88e6xxx: Free ATU/VTU irq only when there is chip irq We only register the ATU and VTU irq when we have a chip level IRQ. In the error path, we should only attempt to remove the ATU and VTU irq if we also have a chip level IRQ. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>