]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/gadget/omap_udc.c
Merge omap-upstream
[linux-2.6-omap-h63xx.git] / drivers / usb / gadget / omap_udc.c
index 9b0f0925dddf644259865cb9f54ac1a8a2c534cc..74cdce181b5f817f201a54154543841139315975 100644 (file)
@@ -2554,7 +2554,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) {