]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Sync USB code with mainline
authorTony Lindgren <tony@atomide.com>
Fri, 5 Sep 2008 00:56:05 +0000 (17:56 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 5 Sep 2008 00:56:05 +0000 (17:56 -0700)
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 <tony@atomide.com>
drivers/usb/gadget/omap_udc.c

index 3d8119391083ba106bb4171c0ba5bff76a8c7c87..af76a251572c580b2c4bd6f158d8eee90e53cd2d 100644 (file)
@@ -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) {