From b29d80a57749a48d310d431b59df9bf2a6c4b24f Mon Sep 17 00:00:00 2001 From: Xinyu Chen Date: Thu, 19 Apr 2012 17:04:57 +0800 Subject: [PATCH] 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 --- drivers/usb/gadget/arcotg_udc.h | 6 +----- 1 file changed, 1 insertion(+), 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 */ -- 2.39.5