Skip to content
Commit 3cf9df00 authored by Fabien Lahoudere's avatar Fabien Lahoudere Committed by Jonathan Cameron
Browse files

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: default avatarNick Vaccaro <nvaccaro@chromium.org>
Signed-off-by: default avatarFabien Lahoudere <fabien.lahoudere@collabora.com>
Reviewed-by: default avatarGwendal Grignou <gwendal@chromium.org>
Tested-by: default avatarGwendal Grignou <gwendal@chromium.org>
[rebased on top of iio/testing and solved conflicts]
Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3e4dabac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment