]> git.karo-electronics.de Git - linux-beck.git/commit
usb: renesas_usbhs: fifo: request DMAEngine once
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 11 Dec 2013 03:09:02 +0000 (19:09 -0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 12 Dec 2013 19:43:34 +0000 (13:43 -0600)
commit1b2e21b082a1c67cd7861bd86c4a46a3f0f348ea
treea7c3ec5932385bac1a0c54df9d0d47cd69e08253
parent25acdd08fd715cf612428c2b3c39ce2a41926238
usb: renesas_usbhs: fifo: request DMAEngine once

DMAEngine uses IRQ if dma_request_channel() was called,
and it is using devm_request_irq() today,
OTOH, dma_request_channel() will be called when each
USB connection happened on this driver.
This means same IRQ will be requested many times
whenever each USB connected,
and this IRQ isn't freed when USB disconnected.
Request DMAEngine once.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/fifo.c