Felipe,

Thanks for your feedback, I'll take that into consideration.

On Fri, Mar 21, 2014 at 9:44 PM, Felipe Balbi <[email protected]> wrote:

>> +     max3421_hcd->spi_thread = kthread_run(max3421_spi_thread, hcd,
>> +                                           "max3421_spi_thread");
>
> why do you need this kthread ? For IRQ handling ? use threaded IRQs
> instead.

Is there a clean way to wakeup a threaded IRQ handler without an
interrupt?  Unless I'm missing something, there is not.  I started out
with a threaded handler in fact, but there are other reasons (e.g.,
URB enqueue) which need to wake up the thread.

  --david
-- 
eGauge Systems LLC, http://egauge.net/, 1.877-EGAUGE1, fax 720.545.9768
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to