Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 260eba39 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Felipe Balbi
Browse files

usb: musb: replace ifndef with ifdef for CONFIG_MUSB_PIO_ONLY



The ifdef reads somehow better than an ifndef

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 5ae90d8e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -62,10 +62,10 @@ struct musb_hw_ep;

#define	DMA_ADDR_INVALID	(~(dma_addr_t)0)

#ifndef CONFIG_MUSB_PIO_ONLY
#define	is_dma_capable()	(1)
#else
#ifdef CONFIG_MUSB_PIO_ONLY
#define	is_dma_capable()	(0)
#else
#define	is_dma_capable()	(1)
#endif

#ifdef CONFIG_USB_TI_CPPI_DMA