summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_core.c
diff options
context:
space:
mode:
authorTony Lindgren2015-05-01 21:29:29 +0200
committerFelipe Balbi2015-05-07 20:35:57 +0200
commit729697a13d7e32b18315df474fbf42498b447a8a (patch)
tree1293f06647bd7bbffe9e29defd38a882808b90df /drivers/usb/musb/musb_core.c
parentusb: musb: Set up function pointers for DMA (diff)
downloadkernel-qcow2-linux-729697a13d7e32b18315df474fbf42498b447a8a.tar.gz
kernel-qcow2-linux-729697a13d7e32b18315df474fbf42498b447a8a.tar.xz
kernel-qcow2-linux-729697a13d7e32b18315df474fbf42498b447a8a.zip
usb: musb: Get rid of the DMA ifdefs for musb_core.c
For musb_core.c we can now just drop the DMA related ifdef and use the already existing runtime test for !is_cppi_enabled(musb) instead. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r--drivers/usb/musb/musb_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 5f35ecdcefd0..237f7c88be63 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1667,7 +1667,6 @@ void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit)
/* called with controller lock already held */
if (!epnum) {
-#ifndef CONFIG_USB_TUSB_OMAP_DMA
if (!is_cppi_enabled(musb)) {
/* endpoint 0 */
if (is_host_active(musb))
@@ -1675,7 +1674,6 @@ void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit)
else
musb_g_ep0_irq(musb);
}
-#endif
} else {
/* endpoints 1..15 */
if (transmit) {