projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac1787
)
usb: f_mass_storage: sleep_thread: decrease the interval for check ctrlc()
author
Inha Song
<ideal.song@samsung.com>
Fri, 22 May 2015 16:14:26 +0000
(18:14 +0200)
committer
Lukasz Majewski
<l.majewski@samsung.com>
Mon, 8 Jun 2015 13:26:00 +0000
(15:26 +0200)
This change decreases the interval of calls to:
- display busy indicator
- check ctrlc()
- check cable connection
By this change, breaking the UMS command is more easy on Odroid XU3.
Signed-off-by: Inha Song <ideal.song@samsung.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/f_mass_storage.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_mass_storage.c
b/drivers/usb/gadget/f_mass_storage.c
index d1bc5efa9b39dfe48d03f7fe94d245f203d60caa..abe9391d3d66bf9f2b2e3f36757c5c8e3c95a215 100644
(file)
--- 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 ==
5
0000) {
+ if (++i ==
2
0000) {
busy_indicator();
i = 0;
k++;