usb: f_mass_storage: fix decrease the delays that for assure corret transmission...
authorInha Song <ideal.song@samsung.com>
Wed, 11 Mar 2015 04:11:26 +0000 (13:11 +0900)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 19 May 2015 10:05:58 +0000 (12:05 +0200)
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>
drivers/usb/gadget/f_mass_storage.c

index d1bc5efa9b39dfe48d03f7fe94d245f203d60caa..abe9391d3d66bf9f2b2e3f36757c5c8e3c95a215 100644 (file)
@@ -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++;