From 0132f02ff32666d51aeed8ce2a7a1f4465f1a4d9 Mon Sep 17 00:00:00 2001 From: Inha Song Date: Wed, 11 Mar 2015 13:11:26 +0900 Subject: 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 --- drivers/usb/gadget/f_mass_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- cgit v1.2.3