mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
usb: ums: remove ci_udc special case
Now that the ci_udc driver supports allocating multiple requests per
endpoint, we can revert the special-case added by a022c1e13c
"usb:
ums: use only 1 buffer for CI_UDC".
Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
parent
2813006fec
commit
340ed422d2
1 changed files with 0 additions and 4 deletions
|
@ -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 */
|
#define DELAYED_STATUS (EP0_BUFSIZE + 999) /* An impossibly large value */
|
||||||
|
|
||||||
/* Number of buffers we will use. 2 is enough for double-buffering */
|
/* Number of buffers we will use. 2 is enough for double-buffering */
|
||||||
#ifndef CONFIG_CI_UDC
|
|
||||||
#define FSG_NUM_BUFFERS 2
|
#define FSG_NUM_BUFFERS 2
|
||||||
#else
|
|
||||||
#define FSG_NUM_BUFFERS 1 /* ci_udc only allows 1 req per ep at present */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Default size of buffer length. */
|
/* Default size of buffer length. */
|
||||||
#define FSG_BUFLEN ((u32)16384)
|
#define FSG_BUFLEN ((u32)16384)
|
||||||
|
|
Loading…
Reference in a new issue