Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b19e5c15 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

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: 294d711e ("net: dsa: mv88e6xxx: Poll when no interrupt defined")
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8edfaf7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}