summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorWei-Han Chen <stimim@google.com>2018-10-05 14:17:59 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-10-09 07:29:18 -0700
commitb5592ebfe6c96ea969e2e2312a9bb94d2a0fd678 (patch)
treecab90bd324e2e98d3238a0f770bfd8c89d2e78c4 /extra
parentaea8faf10f97d4b9d971aab7f4c28635dc736064 (diff)
downloadchrome-ec-b5592ebfe6c96ea969e2e2312a9bb94d2a0fd678.tar.gz
touchpad_st: make panel initialization synchronous
the entire process would take up to 2 seconds. CQ-DEPEND=CL:1264236 BRANCH=nocturne BUG=b:117203130 TEST=manual on whiskers Signed-off-by: Wei-Han Chen <stimim@chromium.org> Change-Id: I0cdcdb8caf3b1d9cf6a5787b93bf8cdb13832a74 Reviewed-on: https://chromium-review.googlesource.com/1264237 Commit-Ready: Wei-Han Chen <stimim@chromium.org> Tested-by: Wei-Han Chen <stimim@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'extra')
-rw-r--r--extra/usb_updater/usb_updater2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/usb_updater/usb_updater2.c b/extra/usb_updater/usb_updater2.c
index c625b628f4..be77c27b4e 100644
--- a/extra/usb_updater/usb_updater2.c
+++ b/extra/usb_updater/usb_updater2.c
@@ -290,7 +290,7 @@ static void do_xfer(struct usb_endpoint *uep, void *outbuf, int outlen,
actual = 0;
r = libusb_bulk_transfer(uep->devh, uep->ep_num | 0x80,
inbuf, inlen,
- &actual, 1000);
+ &actual, 5000);
if (r < 0) {
USB_ERROR("libusb_bulk_transfer", r);
exit(update_error);