mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-23 08:55:56 -04:00
platform/chrome: cros_ec_proto: Add version for ec_command
Add a version parameter to cros_ec_command() for callers that may want to specify which version of the host command they would like to use. Signed-off-by: Prashant Malani <pmalani@chromium.org> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20210930022403.3358070-5-pmalani@chromium.org
This commit is contained in:
committed by
Enric Balletbo i Serra
parent
5d122256f4
commit
4f1406396e
@@ -231,8 +231,8 @@ bool cros_ec_check_features(struct cros_ec_dev *ec, int feature);
|
||||
|
||||
int cros_ec_get_sensor_count(struct cros_ec_dev *ec);
|
||||
|
||||
int cros_ec_command(struct cros_ec_device *ec_dev, int command, void *outdata, int outsize,
|
||||
void *indata, int insize);
|
||||
int cros_ec_command(struct cros_ec_device *ec_dev, unsigned int version, int command, void *outdata,
|
||||
int outsize, void *indata, int insize);
|
||||
|
||||
/**
|
||||
* cros_ec_get_time_ns() - Return time in ns.
|
||||
|
||||
Reference in New Issue
Block a user