- Add apollon use the non-double-buffering in PIO mode
- Fix compiler warning
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
* (for more reliable behavior)
*/
if ((!use_dma && (addr & USB_DIR_IN))
+ || machine_is_omap_apollon()
|| cpu_is_omap15xx())
dbuf = 0;
}
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);