Skip to content

Commit

Permalink
net: dsa: mv88e6xxx: Fix irq free'ing
Browse files Browse the repository at this point in the history
Call the common irq free function, rather than going recursive and
blowing away the stack, followed by the machine.

Fixes: 294d711 ("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>
  • Loading branch information
Andrew Lunn authored and David S. Miller committed Mar 9, 2018
1 parent 8edfaf7 commit b19e5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/dsa/mv88e6xxx/chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b19e5c1

Please sign in to comment.