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

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

 



Hi,

On Fri, Mar 21, 2014 at 09:55:25PM -0600, David Mosberger wrote:
> 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.

Why do you need to run your IRQ handler when an URQ gets enqueued ? That
doesn't make much sense :-s

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux