android_kernel_xiaomi_sm7250/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
blackfin.c
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c
davinci.c
davinci.h
Kconfig
Makefile
musb_core.c
musb_core.h
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c
musb_gadget_ep0.c
musb_gadget.c
musb_gadget.h
musb_host.c
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
omap2430.h
tusb6010_omap.c
tusb6010.c
tusb6010.h
ux500_dma.c
ux500.c