summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2012-04-19 17:04:57 +0800
committerFrank Li <Frank.Li@freescale.com>2012-04-20 10:05:06 +0800
commita7fbbad7276b41e8b338afafcaedf8c005de5c48 (patch)
tree4c7a0a6918f2bf034c9b05b27e8369e0d17c5432 /drivers
parentf55077358206d7cad516ba220cefca5078dc0ff8 (diff)
ENGR00172292 usb otg: enable dtds postpone free on mx6
We found this bug occurs again on mx6 when running CTS with ADB over USB. The system will hang without any log, and screen a little mess. It's proved to be a known USB IP issue: USB controller may access a wrong address for the dTD and then hang. Re enable this workaround to avoid any system unstability. Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'drivers')
-rwxr-xr-xdrivers/usb/gadget/arcotg_udc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/gadget/arcotg_udc.h b/drivers/usb/gadget/arcotg_udc.h
index 00c8e8a8cdd7..8f4b88ebc283 100755
--- a/drivers/usb/gadget/arcotg_udc.h
+++ b/drivers/usb/gadget/arcotg_udc.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2009-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -46,11 +46,7 @@
#define NEED_IRAM(ep) ((g_iram_size) && \
((ep)->desc->bmAttributes == USB_ENDPOINT_XFER_BULK))
-#ifdef CONFIG_ARCH_MX5
#define POSTPONE_FREE_LAST_DTD
-#else
-#undef POSTPONE_FREE_LAST_DTD
-#endif
/* ### define USB registers here
*/