diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-03-08 23:21:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-09 19:20:59 +0300 |
commit | b19e5c1515f2ed0adf5806581ac6d0c4dc3e6dff (patch) | |
tree | ec5c2aeed644fae57243ef759f8327acde417a0c /drivers/net/dsa/mv88e6xxx/chip.c | |
parent | 8edfaf7d33983309b30564e2abaede26163764f3 (diff) | |
download | linux-b19e5c1515f2ed0adf5806581ac6d0c4dc3e6dff.tar.xz |
net: dsa: mv88e6xxx: Fix irq free'ing
Call the common irq free function, rather than going recursive and
blowing away the stack, followed by the machine.
Fixes: 294d711ee8c0 ("net: dsa: mv88e6xxx: Poll when no interrupt defined")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/chip.c')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index cfd53632a655..bd3ee84770c7 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -360,7 +360,7 @@ static void mv88e6xxx_g1_irq_free_common(struct mv88e6xxx_chip *chip) static void mv88e6xxx_g1_irq_free(struct mv88e6xxx_chip *chip) { - mv88e6xxx_g1_irq_free(chip); + mv88e6xxx_g1_irq_free_common(chip); free_irq(chip->irq, chip); } |