summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPi-Hsun Shih <pihsun@chromium.org>2020-02-14 11:26:38 +0300
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-03-02 13:04:04 +0300
commitf775ac78fcfc6bdc96bdda07029d11f2a5e84869 (patch)
tree7cce4a5be5e5b40d43071d069b34527143904014 /tools/perf/scripts/python/export-to-postgresql.py
parent42cd0ab476e2daffc23982c37822a78f9a53cdd5 (diff)
downloadlinux-f775ac78fcfc6bdc96bdda07029d11f2a5e84869.tar.xz
platform/chrome: cros_ec_rpmsg: Fix race with host event
Host event can be sent by remoteproc by any time, and cros_ec_rpmsg_callback would be called after cros_ec_rpmsg_create_ept. But the cros_ec_device is initialized after that, which cause host event handler to use cros_ec_device that are not initialized properly yet. Fix this by don't schedule host event handler before cros_ec_register returns. Instead, remember that we have a pending host event, and schedule host event handler after cros_ec_register. Fixes: 71cddb7097e2 ("platform/chrome: cros_ec_rpmsg: Fix race with host command when probe failed.") Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions