diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2017-06-16 10:41:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-20 11:45:01 +0800 |
commit | 4cadc711cdc7a845cc5263c594ac3882027beadf (patch) | |
tree | a8b0f5c635ed83475b8b3c984f7275d9532d5ff7 /mm/usercopy.c | |
parent | 1df9d9ec34e809ec227c2f13ec9d8cc479f22f5e (diff) | |
download | linux-4cadc711cdc7a845cc5263c594ac3882027beadf.tar.bz2 |
usb: musb: tusb6010_omap: Allocate DMA channels upfront
Instead of requesting the DMA channel in tusb_omap_dma_allocate() do it
when the controller is created and in runtime work from the DMA channel
pool.
This change is needed for the DMAengine conversion of the driver since the
tusb_omap_dma_allocate() is called in interrupt context which might lead
to lock within the DMAengine API when requesting channel.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions