Skip to content
Unverified Commit ba8ce515 authored by Utkarsh Patel's avatar Utkarsh Patel Committed by Benson Leung
Browse files

platform/chrome: cros_ec_typec: Parameterize cros_typec_cmds_supported()



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: default avatarUtkarsh Patel <utkarsh.h.patel@intel.com>
Reviewed-by: default avatarPrashant Malani <pmalani@chromium.org>
Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20201210060903.2205-2-utkarsh.h.patel@intel.com
parent 15630909
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment