Commit f6cfbcda authored by Kyungmin Park's avatar Kyungmin Park Committed by Tony Lindgren

ARM: OMAP: fix apollon USB device support

-  Add apollon use the non-double-buffering in PIO mode
-  Fix compiler warning
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent fe9128eb
......@@ -2579,6 +2579,7 @@ omap_ep_setup(char *name, u8 addr, u8 type,
* (for more reliable behavior)
*/
if ((!use_dma && (addr & USB_DIR_IN))
|| machine_is_omap_apollon()
|| cpu_is_omap15xx())
dbuf = 0;
......@@ -2963,9 +2964,10 @@ known:
}
create_proc_file();
device_add(&udc->gadget.dev);
return 0;
status = device_add(&udc->gadget.dev);
if (!status)
return status;
/* If fail, fall through */
#ifdef USE_ISO
cleanup3:
free_irq(pdev->resource[2].start, udc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment