From: Sergei Shtylyov Date: Fri, 10 Dec 2010 18:03:29 +0000 (+0300) Subject: usb: musb: core: fix IRQ check X-Git-Tag: v2.6.38-rc5~47^2~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=541079de88735152a993ff93e90096643730a054;p=pandora-kernel.git usb: musb: core: fix IRQ check musb_probe() only regards 0 as a wrong IRQ number, despite platform_get_irq() that it calls returns -ENXIO in that case. It leads to musb_init_controller() calling request_irq() with a negative IRQ number, and when it naturally fails, the following is printed to the console: request_irq -6 failed! musb_init_controller failed with status -19 Fix musb_probe() 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