[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZnJLhj4tO8ZLxNYM@google.com>
Date: Wed, 19 Jun 2024 03:07:50 +0000
From: Tzung-Bi Shih <tzungbi@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Benson Leung <bleung@...omium.org>, Guenter Roeck <groeck@...omium.org>,
Sebastian Reichel <sre@...nel.org>,
Thomas Weißschuh <thomas@...ssschuh.net>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>, Robert Moore <robert.moore@...el.com>,
chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org,
Mario Limonciello <mario.limonciello@....com>,
Dustin Howett <dustin@...ett.net>,
Stephen Horvath <s.horvath@...look.com.au>,
Rajas Paranjpe <paranjperajas@...il.com>,
linux-acpi@...r.kernel.org, acpica-devel@...ts.linux.dev,
Matt Hartley <matt.hartley@...il.com>
Subject: Re: [PATCH v4 3/5] platform/chrome: cros_ec_proto: Introduce
cros_ec_get_cmd_versions()
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@...ssschuh.net>
In case of the series wouldn't go through chrome-platform tree:
Acked-by: Tzung-Bi Shih <tzungbi@...nel.org>
Powered by blists - more mailing lists