iio: cros_ec_accel_legacy: Fix incorrect channel setting
authorGwendal Grignou <gwendal@chromium.org>
Mon, 15 Jul 2019 23:14:52 +0000 (16:14 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 27 Jul 2019 22:05:37 +0000 (23:05 +0100)
commitb9a0a64e3b35934128551a25513d91bd634736ed
tree17960ce69b3d5a942323d5486dfd566ce59748da
parent12bf745c9afb6755acba186091bcbb61229f4165
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 <gwendal@chromium.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/cros_ec_accel_legacy.c