mfd: Add free max8998->ono irq in max8998_irq_exit()
PATCH 1/1 mfd: Add free max8998->ono irq in max8998_irq_exit()
Signed-off-by Axel Lin <[email protected]>
--- drivers/mfd/max8998-irq.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/mfd/max8998-irq.c +3 -0
@@ -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); }
Signature · 1 line
1.7.2
Hi Axel,
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Patch applied, many thanks.
Cheers,
Samuel.
Quoted 23 lines
--- drivers/mfd/max8998-irq.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)drivers/mfd/max8998-irq.c +3
-0@@ -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); }Signature · 1 line
1.7.2
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/