Skip to content

Commit 71f74ae

Browse files
lunndavem330
authored andcommitted
net: dsa: mv88e6xxx: Call the common IRQ free code
When free'ing the polled IRQs, call the common irq free code. Otherwise the interrupts are left registered, and when we come to load the driver a second time, we get an Opps. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 422a9fd commit 71f74ae

File tree

1 file changed

+2
-0
lines changed
  • drivers/net/dsa/mv88e6xxx

1 file changed

+2
-0
lines changed

drivers/net/dsa/mv88e6xxx/chip.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ static int mv88e6xxx_irq_poll_setup(struct mv88e6xxx_chip *chip)
467467

468468
static void mv88e6xxx_irq_poll_free(struct mv88e6xxx_chip *chip)
469469
{
470+
mv88e6xxx_g1_irq_free_common(chip);
471+
470472
kthread_cancel_delayed_work_sync(&chip->irq_poll_work);
471473
kthread_destroy_worker(chip->kworker);
472474
}

0 commit comments

Comments
 (0)