diff options
author | Evan Benn <evanbenn@chromium.org> | 2020-12-09 22:03:54 +0000 |
---|---|---|
committer | Enric Balletbo i Serra <enric.balletbo@collabora.com> | 2021-01-20 16:19:17 +0100 |
commit | 0944ea07baa748741563c8842122010fa9017d16 (patch) | |
tree | 1d06338fd2499f53945b1242cc86d93589a6b4fb /tools/perf/scripts/python/syscall-counts.py | |
parent | 8553a979fcd03448a4096c7d431b7ee1a52bfca3 (diff) |
platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT
The host_event_code enum is 1-based, use EC_HOST_EVENT_MASK not BIT to
generate the intended mask. This patch changes the behaviour of the
mask, a following patch will restore the intended behaviour:
'Add LID and BATTERY to default mask'
Fixes: c214e564acb2 ("platform/chrome: cros_ec_proto: ignore unnecessary wakeups on old ECs")
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20201209220306.1.I6133572c0ab3c6b95426f804bac2d3833e24acb1@changeid
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions