commit | 1558b51eb7c813b3d90bdd68057403f7cac191fa | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Oct 20 17:09:56 2010 +0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Fri Oct 29 00:30:36 2010 +0200 |
tree | 51eba558b67331a0e592a4858502413146760e06 | |
parent | 8220fe4cb25d0177bd0795a516d2023799008ca0 [diff] [blame] |
mfd: Add free max8998->ono irq in max8998_irq_exit() Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
diff --git a/drivers/mfd/max8998-irq.c b/drivers/mfd/max8998-irq.c index 346fd29..45bfe77 100644 --- a/drivers/mfd/max8998-irq.c +++ b/drivers/mfd/max8998-irq.c
@@ -250,6 +250,9 @@ void max8998_irq_exit(struct max8998_dev *max8998) { + if (max8998->ono) + free_irq(max8998->ono, max8998); + if (max8998->irq) free_irq(max8998->irq, max8998); }