diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-06-22 04:10:37 +0000 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-07-20 01:22:59 +0000 |
commit | 7cb1eb82642becd668665689c6eac2a639a81e1b (patch) | |
tree | f0c49563ca0ea235e1c3689d1f1f737b55d3299f /drivers/platform/surface/surface_aggregator_cdev.c | |
parent | 2b7ed927953f30eaae0e622c670dcddce3bd3aa4 (diff) |
platform/chrome: cros_ec_proto: add Kunit tests for get_host_event
cros_ec_get_host_event() performs some sanity checks, parses
`ec_dev->event_data.data.host_event`, and returns bitmap of
EC_HOST_EVENT_*.
Add Kunit tests for cros_ec_get_host_event().
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20220622041040.202737-5-tzungbi@kernel.org
Diffstat (limited to 'drivers/platform/surface/surface_aggregator_cdev.c')
0 files changed, 0 insertions, 0 deletions