Home
last modified time | relevance | path

Searched hist:"00238864435 f97dc578cc8b2de7ecc95a1fca0b9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.cdiff 00238864435f97dc578cc8b2de7ecc95a1fca0b9 Tue Jun 21 23:10:38 CDT 2022 Tzung-Bi Shih <tzungbi@kernel.org> platform/chrome: cros_ec_proto: add Kunit tests for check_features

cros_ec_check_features() gets EC features if it hasn't had cache, and
checks whether the given EC_FEATURE_* is supported or not.

Add Kunit tests for cros_ec_check_features().

Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20220622041040.202737-6-tzungbi@kernel.org