Re: [PATCH] musbhsdma: fix IRQ check

2012-08-20 Thread Sergei Shtylyov
Hello. On 08/20/2012 10:34 PM, Sergei Shtylyov wrote: > dma_controller_create() in this MUSB DMA driver only regards 0 as a wrong IRQ > number, despite platform_get_irq_byname() that it calls returns -EXDEV in that Argh, dunno why I typed -EXDEV while actually it returns -ENXIO. Please fix wh

[PATCH] musbhsdma: fix IRQ check

2012-08-20 Thread Sergei Shtylyov
dma_controller_create() in this MUSB DMA driver only regards 0 as a wrong IRQ number, despite platform_get_irq_byname() that it calls returns -EXDEV in that case. It leads to calling request_irq() with a negative IRQ number, and when it naturally fails, the following is printed to the console: req