From: Sergei Shtylyov Date: Mon, 20 Aug 2012 18:34:46 +0000 (+0400) Subject: usb: musb: musbhsdma: fix IRQ check X-Git-Tag: v3.6-rc6~19^2~5^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7effdbd6512083e21c007edbaca0ceff4aa5159f;p=pandora-kernel.git usb: musb: musbhsdma: fix IRQ check 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 -ENXIO 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: request_irq -6 failed! and the DMA controller is not created. Fix this function to filter out the error values as well as 0. Signed-off-by: Sergei Shtylyov Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed