]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: Use is_cppi_enabled() and tusb_dma_omap() instead of the ifdef
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 13 Aug 2013 17:38:23 +0000 (19:38 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 13 Aug 2013 19:21:41 +0000 (14:21 -0500)
commitc33ca09ef7a4596dc54983b609fb30303ec750ce
treef9a508aa00d1214f045afc8599a752483313f677
parent3abb30f09b1bfefb8720692912cf5ada837485ca
usb: musb: Use is_cppi_enabled() and tusb_dma_omap() instead of the ifdef

This patch makes use of the two function is_cppi_enabled() and
tusb_dma_omap() instead of the ifdef for the proper DMA implementation
setup code. It basically shifts the code right by one indention level
and adds a few line breaks once the chars are crossed.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c