diff options
author | Gwendal Grignou <[email protected]> | 2019-06-28 12:17:09 -0700 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2019-07-14 17:50:11 +0100 |
commit | 6cdff99c9f7d7d28b87cf05dd464f7c7736332ae (patch) | |
tree | 1634b1af9a80bb2c15f107e76552d1761a064844 | |
parent | 5a304e1a4ea000177cf25f5ecf26e786dda25b98 (diff) |
iio: cros_ec_accel_legacy: Fix incorrect channel setting
INFO_SCALE is set both for each channel and all channels.
iio is using all channel setting, so the error was not user visible.
Signed-off-by: Gwendal Grignou <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r-- | drivers/iio/accel/cros_ec_accel_legacy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/accel/cros_ec_accel_legacy.c b/drivers/iio/accel/cros_ec_accel_legacy.c index 46bb2e421bb9..ad19d9c716f4 100644 --- a/drivers/iio/accel/cros_ec_accel_legacy.c +++ b/drivers/iio/accel/cros_ec_accel_legacy.c @@ -319,7 +319,6 @@ static const struct iio_chan_spec_ext_info cros_ec_accel_legacy_ext_info[] = { .modified = 1, \ .info_mask_separate = \ BIT(IIO_CHAN_INFO_RAW) | \ - BIT(IIO_CHAN_INFO_SCALE) | \ BIT(IIO_CHAN_INFO_CALIBBIAS), \ .info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SCALE), \ .ext_info = cros_ec_accel_legacy_ext_info, \ |