]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: host: move DMA engine check from musb_tx_dma_set_mode_cppi_tusb() to its...
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 31 May 2016 15:05:05 +0000 (10:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 21:58:59 +0000 (14:58 -0700)
commit55695b4a5a7a952c4bcefbc2daf81aa73235df0b
tree56175fcb25b20c10f601e53d44ef814603c8a4ae
parent6595e766b1813939dfde8e45119f8dc766e2f11a
usb: musb: host: move DMA engine check from musb_tx_dma_set_mode_cppi_tusb() to its caller

Commit 01e2e5ed9346 ("usb: musb: Remove ifdefs for TX DMA for musb_host.c")
looks incomplete: the DMA engine checks are  done outside the Mentor/UX500
handler  but inside the CPPI/TUSB handler. Move the checks out of the CPPI/
TUSB handler into its caller, musb_tx_dma_program().

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
[b-liu@ti.com: revise subject prefix]
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_host.c