diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-06-09 08:49:42 +0000 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-06-10 02:31:43 +0000 |
commit | 93bea2faed630bd014916fd2e7ab16a79ee1b46a (patch) | |
tree | d29090ba49bc20fe969458ca882eb18e4f7e45d7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8e3991610ba5c11003d8c228b280cc007c2a6177 (diff) |
platform/chrome: cros_ec_proto: use cros_ec_map_error()
Use cros_ec_map_error() in cros_ec_get_host_event_wake_mask().
The behavior of cros_ec_get_host_event_wake_mask() slightly changed. It
is acceptable because the caller only needs it returns negative integers
for indicating errors. Especially, the EC_RES_INVALID_COMMAND still
maps to -EOPNOTSUPP.
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220609084957.3684698-7-tzungbi@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions