diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-08-11 09:21:00 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 14:09:10 +0200 |
commit | 862de70c12bb6227943e155251c75e7fa4558068 (patch) | |
tree | e61591a7cd23b2f0c006d35f999897ca73e7351d /drivers/mfd/ucb1x00-core.c | |
parent | mfd: Refactor ab8500 GPADC API, add raw access (diff) | |
download | linux-862de70c12bb6227943e155251c75e7fa4558068.tar.xz linux-862de70c12bb6227943e155251c75e7fa4558068.zip |
mfd: Make sure to request twl6030 IRQ before using the irq_num
I was trying to fix the error handling part because in the case of
request_irq failure, it should call kthread_stop instead of free_irq.
But it seems more reasonable to do request_irq before calling kthread_run.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ucb1x00-core.c')
0 files changed, 0 insertions, 0 deletions