Re: [PATCH] platform/chrome: cros_ec_proto: Fix check_features ret val

From: Enric Balletbo i Serra
Date: Thu Sep 30 2021 - 02:46:13 EST


On Wed, 15 Sep 2021 18:46:27 -0700, Prashant Malani wrote:
> The kerneldoc for cros_ec_check_features() states that it returns 1 or 0
> depedending on whether a feature is supported or not, but it instead
> returns a negative error number in one case, and a non-1 bitmask in
> other cases.
>
> Since all call-sites only check for a 1 or 0 return value, update
> the function to return boolean values.

Applied, thanks!

[1/1] platform/chrome: cros_ec_proto: Fix check_features ret val
commit: d50497c4a05e73e76874fd0d4942036375a7ec0f

Best regards,
--
Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>