linux/drivers/usb/musb
Sergei Shtylyov 7effdbd651 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 <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-09-06 19:52:28 +03:00
..
am35x.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00
blackfin.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00
davinci.c usb: phy: patches for v3.6 merge window 2012-07-05 15:35:41 -07:00
davinci.h
Kconfig usb: musb: Fix wrong config for am33xx and ti81xx 2012-08-03 09:30:42 +03:00
Makefile
musb_core.c
musb_core.h usb/musb: remove conditional compilation of clk code 2012-07-30 17:25:12 -07:00
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c usb: musb: reorder runtime pm call 2012-08-03 09:30:44 +03:00
musb_gadget_ep0.c
musb_gadget.c usb: musb: patches for v3.6 merge window 2012-07-05 15:09:27 -07:00
musb_gadget.h
musb_host.c usb: musb: host: fix for musb_start_urb Oops 2012-09-06 19:52:26 +03:00
musb_host.h
musb_io.h
musb_regs.h
musb_virthub.c
musbhsdma.c usb: musb: musbhsdma: fix IRQ check 2012-09-06 19:52:28 +03:00
musbhsdma.h
omap2430.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00
omap2430.h
tusb6010_omap.c
tusb6010.c usb: musb: tusb6010: fix error path in tusb_probe() 2012-09-06 19:52:27 +03:00
tusb6010.h
ux500_dma.c
ux500.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00