commit | 862de70c12bb6227943e155251c75e7fa4558068 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Thu Aug 11 15:21:00 2011 +0800 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Oct 24 14:09:10 2011 +0200 |
tree | e61591a7cd23b2f0c006d35f999897ca73e7351d | |
parent | bd4a40b57b13907b4fe01b6c605be56d8f3733fe [diff] |
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>