]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/gadget/omap_udc.c
Merge omap-drivers
[linux-2.6-omap-h63xx.git] / drivers / usb / gadget / omap_udc.c
index c4975a6cf7774cc32fcd0ff3500462694b2c0f7b..56ebbb4446123dca4a962ab79395d93395a43188 100644 (file)
@@ -2662,7 +2662,9 @@ omap_ep_setup(char *name, u8 addr, u8 type,
                 * and ignored for PIO-IN on newer chips
                 * (for more reliable behavior)
                 */
-               if (!use_dma || cpu_is_omap15xx() || cpu_is_omap24xx())
+               if ((!use_dma && (addr & USB_DIR_IN))
+                               || machine_is_omap_apollon()
+                               || cpu_is_omap15xx())
                        dbuf = 0;
 
                switch (maxp) {