iio: common: cros_ec_sensors: determine protocol version
This patch adds a function to determine which version of the protocol is used to communicate with EC. Signed-off-by:Nick Vaccaro <nvaccaro@chromium.org> Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Reviewed-by:
Gwendal Grignou <gwendal@chromium.org> Tested-by:
Gwendal Grignou <gwendal@chromium.org> [rebased on top of iio/testing and solved conflicts] Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Showing
Please register or sign in to comment