Commit e530bb8f authored by Tony Lindgren's avatar Tony Lindgren Committed by Felipe Balbi

usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part4

Remove ifdefs for musb_host_rx to get closer to building in
all the DMA drivers.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent cff84bdb
...@@ -1857,9 +1857,8 @@ void musb_host_rx(struct musb *musb, u8 epnum) ...@@ -1857,9 +1857,8 @@ void musb_host_rx(struct musb *musb, u8 epnum)
} }
/* we are expecting IN packets */ /* we are expecting IN packets */
#if defined(CONFIG_USB_INVENTRA_DMA) || defined(CONFIG_USB_UX500_DMA) || \ if ((musb_dma_inventra(musb) || musb_dma_ux500(musb) ||
defined(CONFIG_USB_TI_CPPI41_DMA) musb_dma_cppi41(musb)) && dma) {
if (dma) {
struct dma_controller *c; struct dma_controller *c;
u16 rx_count; u16 rx_count;
int ret, length; int ret, length;
...@@ -1976,7 +1975,6 @@ void musb_host_rx(struct musb *musb, u8 epnum) ...@@ -1976,7 +1975,6 @@ void musb_host_rx(struct musb *musb, u8 epnum)
musb_writew(epio, MUSB_RXCSR, val); musb_writew(epio, MUSB_RXCSR, val);
} }
} }
#endif /* Mentor DMA */
if (!dma) { if (!dma) {
unsigned int received_len; unsigned int received_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment