From 03e9e82f1856ba22f84df1b821864571ae8dd189 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 4 Sep 2008 17:56:05 -0700 Subject: [PATCH] Sync USB code with mainline Based on comments from Dave: NAK. The Apollon-specific bit should be done some other way, and whatever silicon issue it's covering up is not specific to that board ... Signed-off-by: Tony Lindgren --- drivers/usb/gadget/omap_udc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index 3d811939108..af76a251572 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c @@ -2604,9 +2604,7 @@ omap_ep_setup(char *name, u8 addr, u8 type, * and ignored for PIO-IN on newer chips * (for more reliable behavior) */ - if ((!use_dma && (addr & USB_DIR_IN)) - || machine_is_omap_apollon() - || cpu_is_omap15xx()) + if (!use_dma || cpu_is_omap15xx() || cpu_is_omap24xx()) dbuf = 0; switch (maxp) { -- 2.41.0