Re: [U-Boot] [PATCH 2/2] usb: ums: remove ci_udc special case

2014-05-07 Thread Marek Vasut
On Tuesday, May 06, 2014 at 01:48:12 AM, Stephen Warren wrote:
> From: Stephen Warren 
> 
> Now that the ci_udc driver supports allocating multiple requests per
> endpoint, we can revert the special-case added by a022c1e13c01 "usb:
> ums: use only 1 buffer for CI_UDC".
> 
> Signed-off-by: Stephen Warren 

Applied, thanks

Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/2] usb: ums: remove ci_udc special case

2014-05-05 Thread Stephen Warren
From: Stephen Warren 

Now that the ci_udc driver supports allocating multiple requests per
endpoint, we can revert the special-case added by a022c1e13c01 "usb:
ums: use only 1 buffer for CI_UDC".

Signed-off-by: Stephen Warren 
---
 drivers/usb/gadget/storage_common.c | 4 
 1 file changed, 4 deletions(-)

diff --git a/drivers/usb/gadget/storage_common.c 
b/drivers/usb/gadget/storage_common.c
index 74300746b9db..02803df23c52 100644
--- a/drivers/usb/gadget/storage_common.c
+++ b/drivers/usb/gadget/storage_common.c
@@ -311,11 +311,7 @@ static struct fsg_lun *fsg_lun_from_dev(struct device *dev)
 #define DELAYED_STATUS (EP0_BUFSIZE + 999) /* An impossibly large value */
 
 /* Number of buffers we will use.  2 is enough for double-buffering */
-#ifndef CONFIG_CI_UDC
 #define FSG_NUM_BUFFERS2
-#else
-#define FSG_NUM_BUFFERS1 /* ci_udc only allows 1 req per ep at present 
*/
-#endif
 
 /* Default size of buffer length. */
 #define FSG_BUFLEN ((u32)16384)
-- 
1.8.1.5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot