diff options
author | Tzung-Bi Shih <[email protected]> | 2022-05-13 12:41:40 +0800 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2022-05-16 10:01:51 +0800 |
commit | 20a264c97bc8c17d3a7dd7e8d0f72dc57b02c75e (patch) | |
tree | f55f72040ed18329c207a1d0a25b0950af2428b8 /tools/perf/scripts/python/intel-pt-events.py | |
parent | c2dcb1b06053a1ccfb73fe84e7b54b92383401cc (diff) |
platform/chrome: cros_ec_proto: drop BUG_ON() in cros_ec_get_host_event()
It is overkill to crash the kernel if the `ec_dev` doesn't support MKBP
event but gets called into cros_ec_get_host_event().
Drop the BUG_ON() and return error (0 in the case) instead.
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions