diff options
author | Danke Xie <d.xie@sta.samsung.com> | 2011-09-07 17:52:56 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2011-09-12 13:43:19 -0700 |
commit | 1899ac51c1de8c3cac5203d3f6e39dd3c1f3648d (patch) | |
tree | e415d9dd68ca4f379c71e7a8d25e3a93a427a36c | |
parent | 987583925df180b95e9191f8cd89e90986267202 (diff) | |
download | kernel_samsung_espresso10-1899ac51c1de8c3cac5203d3f6e39dd3c1f3648d.zip kernel_samsung_espresso10-1899ac51c1de8c3cac5203d3f6e39dd3c1f3648d.tar.gz kernel_samsung_espresso10-1899ac51c1de8c3cac5203d3f6e39dd3c1f3648d.tar.bz2 |
MFD: TWL: 6030: Bug fix in TWL 6030 IRQ init function
This change stops the interrupt handler thread if the
irq line cannot be claimed.
Change-Id: I54d08b2c3d4ff7056df3b510fd1e6229ddcb8157
Signed-off-by: Danke Xie <d.xie@sta.samsung.com>
-rw-r--r-- | drivers/mfd/twl6030-irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/twl6030-irq.c b/drivers/mfd/twl6030-irq.c index 67fb7ff..aa77f02 100644 --- a/drivers/mfd/twl6030-irq.c +++ b/drivers/mfd/twl6030-irq.c @@ -490,7 +490,7 @@ fail_vlow: free_irq(irq_num, &irq_event); fail_irq: - free_irq(irq_num, &irq_event); + kthread_stop(task); fail_kthread: for (i = irq_base; i < irq_end; i++) |