Re: [PATCH v4 3/5] platform/chrome: cros_ec_proto: Introduce cros_ec_get_cmd_versions()

From: Tzung-Bi Shih
Date: Tue Jun 18 2024 - 23:08:05 EST


On Sun, Jun 16, 2024 at 09:03:31PM +0200, Thomas Weißschuh wrote:
> Retrieving the supported versions of a command is a fairly common
> operation. Provide a helper for it.
>
> If the command is not supported at all the EC returns
> -EINVAL/EC_RES_INVALID_PARAMS.
>
> This error is translated into an empty version mask as that is easier to
> handle for callers and they don't need to know about the error details.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

In case of the series wouldn't go through chrome-platform tree:
Acked-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>