Re: [PATCH 1/2] platform/chrome: cros_ec_typec: Parameterize cros_typec_cmds_supported()

From: Prashant Malani
Date: Mon Dec 21 2020 - 19:46:11 EST


Hi Utkarsh,

On Wed, Dec 09, 2020 at 10:09:02PM -0800, Utkarsh Patel wrote:
> cros_typec_cmds_supported() is currently being used to check only one
> feature flag.
> Add a new feature parameter to it so that it can be used to check
> multiple feature flags supported in cros_ec.
> Rename cros_typec_cmds_supported() to cros_typec_feature_supported().
>
> Signed-off-by: Utkarsh Patel <utkarsh.h.patel@xxxxxxxxx>
Reviewed-by: Prashant Malani <pmalani@xxxxxxxxxxxx>

Thanks,

-Prashant