diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-01-18 17:42:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-19 15:57:02 -0500 |
commit | ae14cafc933b977f368ea7510d3b50b9ad5e1fc6 (patch) | |
tree | 714c3c25647f916423b042953c2d59e96dc78de1 /net/smc/smc_core.h | |
parent | 9b662a3ec21221f2500e8009c849abf9c0136b99 (diff) | |
download | linux-ae14cafc933b977f368ea7510d3b50b9ad5e1fc6.tar.gz linux-ae14cafc933b977f368ea7510d3b50b9ad5e1fc6.tar.bz2 linux-ae14cafc933b977f368ea7510d3b50b9ad5e1fc6.zip |
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>
Diffstat (limited to 'net/smc/smc_core.h')
0 files changed, 0 insertions, 0 deletions