linux/drivers/usb/musb
Tony Lindgren 8c300fe282 usb: musb: Fix trying to free already-free IRQ 4
When unloading omap2430, we can get the following splat:

WARNING: CPU: 1 PID: 295 at kernel/irq/manage.c:1478 __free_irq+0xa8/0x2c8
Trying to free already-free IRQ 4
...
[<c01a8b78>] (free_irq) from [<bf0aea84>]
(musbhs_dma_controller_destroy+0x28/0xb0 [musb_hdrc])
[<bf0aea84>] (musbhs_dma_controller_destroy [musb_hdrc]) from
[<bf09f88c>] (musb_remove+0xf0/0x12c [musb_hdrc])
[<bf09f88c>] (musb_remove [musb_hdrc]) from [<c056a384>]
(platform_drv_remove+0x24/0x3c)
...

This is because the irq number in use is 260 nowadays, and the dma
controller is using u8 instead of int.

Fixes: 6995eb68aa ("USB: musb: enable low level DMA operation for Blackfin")
Signed-off-by: Tony Lindgren <tony@atomide.com>
[b-liu@ti.com: added Fixes tag]
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-05 19:18:05 +01:00
..
am35x.c usb: musb: am35x: fix error return code in am35x_probe() 2016-09-13 17:20:02 +02:00
blackfin.c
blackfin.h
cppi_dma.c
cppi_dma.h
da8xx.c usb: musb: da8xx: Set phy in OTG mode by default 2016-11-21 17:35:37 +01:00
davinci.c
davinci.h
jz4740.c
Kconfig Merge 4.8-rc7 into usb-next 2016-09-19 09:12:41 +02:00
Makefile
musb_am335x.c
musb_core.c Merge 4.9-rc7 into usb-next 2016-11-28 08:34:10 +01:00
musb_core.h usb: musb: core: add clear_ep_rxintr() to musb_platform_ops 2017-01-05 19:18:05 +01:00
musb_cppi41.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
musb_debug.h
musb_debugfs.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
musb_dma.h
musb_dsps.c usb: musb: dsps: implement clear_ep_rxintr() callback 2017-01-05 19:18:05 +01:00
musb_gadget.c Merge 4.9-rc7 into usb-next 2016-11-28 08:34:10 +01:00
musb_gadget.h
musb_gadget_ep0.c
musb_host.c usb: musb: core: add clear_ep_rxintr() to musb_platform_ops 2017-01-05 19:18:05 +01:00
musb_host.h
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h
musb_virthub.c USB: musb: remove obsolete resume-signalling comments 2016-11-21 17:35:36 +01:00
musbhsdma.c
musbhsdma.h usb: musb: Fix trying to free already-free IRQ 4 2017-01-05 19:18:05 +01:00
omap2430.c Merge 4.9-rc7 into usb-next 2016-11-28 08:34:10 +01:00
omap2430.h
sunxi.c musb: sunxi: Force session end on babble errors in host-mode 2016-11-21 17:35:36 +01:00
tusb6010.c usb: musb: Fix PM for hub disconnect 2016-11-17 16:25:39 +01:00
tusb6010.h
tusb6010_omap.c
ux500.c
ux500_dma.c