Home
last modified time | relevance | path

Searched hist:"82 f4def2d8224b45d7348daa943e5fc9d9c7163b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.cdiff 82f4def2d8224b45d7348daa943e5fc9d9c7163b Mon Jul 18 00:09:07 CDT 2022 Tzung-Bi Shih <tzungbi@kernel.org> platform/chrome: cros_ec_proto: add Kunit tests for cros_ec_cmd_xfer()

cros_ec_cmd_xfer() transfers the given command and data if any. It
performs some sanity checks and calls cros_ec_send_command().

Add Kunit tests for cros_ec_cmd_xfer().

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