Re: [PATCH] usb: host: Add MAX3421E HCD support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Felipe,

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

On Fri, Mar 21, 2014 at 9:44 PM, Felipe Balbi <balbi@xxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux