]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: cros_ec_accel_legacy: Fix incorrect channel setting
authorGwendal Grignou <gwendal@chromium.org>
Fri, 28 Jun 2019 19:17:09 +0000 (12:17 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Jul 2019 16:50:11 +0000 (17:50 +0100)
commit6cdff99c9f7d7d28b87cf05dd464f7c7736332ae
tree1634b1af9a80bb2c15f107e76552d1761a064844
parent5a304e1a4ea000177cf25f5ecf26e786dda25b98
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>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/cros_ec_accel_legacy.c