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

Commit 1558b51e authored by Axel Lin's avatar Axel Lin Committed by Samuel Ortiz
Browse files

mfd: Add free max8998->ono irq in max8998_irq_exit()

parent 8220fe4c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -250,6 +250,9 @@ int max8998_irq_init(struct max8998_dev *max8998)

void max8998_irq_exit(struct max8998_dev *max8998)
{
	if (max8998->ono)
		free_irq(max8998->ono, max8998);

	if (max8998->irq)
		free_irq(max8998->irq, max8998);
}