diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-01-03 21:34:12 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-02-01 11:12:58 +0100 |
commit | 03305e535cd5cdc1079b32909bf4b2dd67d46f7f (patch) | |
tree | d1112124aed6dc36041a1a6e2a71476efbd3945a /drivers/iio | |
parent | iio: imu: adis16400: Fix sign extension (diff) | |
download | linux-03305e535cd5cdc1079b32909bf4b2dd67d46f7f.tar.xz linux-03305e535cd5cdc1079b32909bf4b2dd67d46f7f.zip |
iio: mxs-lradc: fix iio channel map regression
Since commit c8231a9af8147f8a ("iio: mxs-lradc: compute temperature
from channel 8 and 9") with the removal of adc channel 9 there is
no 1-1 mapping in the channel spec.
All hwmon channel values above 9 are accessible via there index minus
one. So add a hidden iio channel 9 to fix this issue.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Cc: Stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions