]> git.karo-electronics.de Git - karo-tx-linux.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)
commitfc525751457e93783b1c85a0612735a598c8497f
treef9a508aa00d1214f045afc8599a752483313f677
parenteff196ad4e6b10499d4c4e4a0bd4a7c8afb8455f
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