mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-13 03:15:06 +00:00
Full panel initialization can take about 1.6 seconds. If this is called by hook_call_deferred, it will block other HOOKS. Replace the 'while loop + sleep' by re-calling deferred every 100ms. BRANCH=whiskers BUG=b:109714732 TEST=sudo ./extra/usb_updater/usb_updater2 -d 18d1:5030 --tp_update <fw> TEST=sudo extra/usb_updater/usb_updater2 -d 18d1:5030 --tp_debug=01 TEST=(EC console) touchpad_st calibrate Signed-off-by: Wei-Han Chen <stimim@chromium.org> Change-Id: I665169524a06a7c359303a4a3dceced4a141f9ae Reviewed-on: https://chromium-review.googlesource.com/1086895 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Wei-Han Chen <stimim@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>