]> 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 8f9a2b615422602a25178c03294bad5479796a46..32cbd8998fc1ee26f3207b2637fdf74998165a4d 100644 (file)
@@ -2579,7 +2579,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) {