Messages in this thread | | | Date | Thu, 11 Aug 2011 21:19:37 +0900 | Subject | changing to threaded_handler in twl6030-irq.c | From | anish singh <> |
| |
/* * handle_twl6030_int() is the desc->handle method for the twl6030 interrupt. * This is a chained interrupt, so there is no desc->action method for it. * Now we need to query the interrupt controller in the twl6030 to determine * which module is generating the interrupt request. However, we can't do i2c * transactions in interrupt context, so we must defer that work to a kernel * thread. All we do here is acknowledge and mask the interrupt and wakeup * the kernel thread. */ static irqreturn_t handle_twl6030_pih(int irq, void *devid) { disable_irq_nosync(irq); complete(devid); return IRQ_HANDLED; }
Does this still hold good when we have threaded_handler?Is it possible to move to threaded handler if no, can anybody explain the reason? Just to know more about threaded handler short comings if there is any.
| |