Home
last modified time | relevance | path

Searched hist:a096926e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors.ca096926e Fri Mar 24 12:44:02 CDT 2017 Enric Balletbo i Serra <enric.balletbo@collabora.com> iio: cros_ec_sensors: Fix return value to get raw and calibbias data.

The cros_ec_sensors_read function must return the type of value on all
cases. This was always true except for RAW and CALIBBIAS data which
returned an error or 0. This patch just fixes the mistake I introduced
when submitting the series.

Fixes: commit c14dca07a31d (iio: cros_ec_sensors: add ChromeOS EC
Contiguous Sensors driver)

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
a096926e Fri Mar 24 12:44:02 CDT 2017 Enric Balletbo i Serra <enric.balletbo@collabora.com> iio: cros_ec_sensors: Fix return value to get raw and calibbias data.

The cros_ec_sensors_read function must return the type of value on all
cases. This was always true except for RAW and CALIBBIAS data which
returned an error or 0. This patch just fixes the mistake I introduced
when submitting the series.

Fixes: commit c14dca07a31d (iio: cros_ec_sensors: add ChromeOS EC
Contiguous Sensors driver)

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>