chrome platform changes for 5.20
cros_ec_proto:
* Leverage Kunit and add Kunit test cases.
* Clean-ups.
* Fix typo.
cros_ec_commands:
* Fix typo.
* Fix compile errors.
cros_kbd_led_backlight:
* Support OF match.
* Support EC PWM backend.
cros_ec:
* Always expose the last resume result to fix sleep hang detection on
ARM-based chromebooks.
wilco_ec:
* Fix typo.
cros_ec_typec:
* Clean-ups.
* Use Type-C framework utilities to manage altmode structs.
platform/chrome: cros_kunit_util: add default value for `msg->result`
Add default value for `msg->result` so that it won't be garbage bytes
when the mock list is empty.
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20220720044754.4026295-3-tzungbi@kernel.org
2 files changed