Skip to content

Commit b9a0a64

Browse files
gwendalcrjic23
authored andcommitted
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]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 12bf745 commit b9a0a64

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/iio/accel/cros_ec_accel_legacy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ static const struct iio_chan_spec_ext_info cros_ec_accel_legacy_ext_info[] = {
319319
.modified = 1, \
320320
.info_mask_separate = \
321321
BIT(IIO_CHAN_INFO_RAW) | \
322-
BIT(IIO_CHAN_INFO_SCALE) | \
323322
BIT(IIO_CHAN_INFO_CALIBBIAS), \
324323
.info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SCALE), \
325324
.ext_info = cros_ec_accel_legacy_ext_info, \

0 commit comments

Comments
 (0)