summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInha Song <ideal.song@samsung.com>2015-03-11 13:11:26 +0900
committerPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-19 12:05:58 +0200
commit0132f02ff32666d51aeed8ce2a7a1f4465f1a4d9 (patch)
treec5ec15197a8281e5c919f918e2a66263cf0797cd
parent363a4541a1533b50fb3e88cd8e3b08a6e0dc9050 (diff)
downloadu-boot-0132f02ff32666d51aeed8ce2a7a1f4465f1a4d9.tar.gz
u-boot-0132f02ff32666d51aeed8ce2a7a1f4465f1a4d9.tar.bz2
u-boot-0132f02ff32666d51aeed8ce2a7a1f4465f1a4d9.zip
usb: f_mass_storage: fix decrease the delays that for assure corret transmission completion
This patch fix decrease the delays for assure corret transmision completion in UMS to work CTRL+C with UMS on XU3. Signed-off-by: Inha Song <ideal.song@samsung.com>
-rw-r--r--drivers/usb/gadget/f_mass_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_mass_storage.c b/drivers/usb/gadget/f_mass_storage.c
index d1bc5efa9b..abe9391d3d 100644
--- a/drivers/usb/gadget/f_mass_storage.c
+++ b/drivers/usb/gadget/f_mass_storage.c
@@ -671,7 +671,7 @@ static int sleep_thread(struct fsg_common *common)
if (common->thread_wakeup_needed)
break;
- if (++i == 50000) {
+ if (++i == 20000) {
busy_indicator();
i = 0;
k++;