diff options
author | 2021-08-18 13:11:24 +0200 | |
---|---|---|
committer | 2021-09-14 12:02:10 +0100 | |
commit | 732ae19ee8f58ecaf30cbc1bbbda5cbee6a45043 (patch) | |
tree | 20dc41541e34a020b4176c7f00c92f5fbe5c85a2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: adc128s052: Fix the error handling path of 'adc128_probe()' (diff) | |
download | wireguard-linux-732ae19ee8f58ecaf30cbc1bbbda5cbee6a45043.tar.xz wireguard-linux-732ae19ee8f58ecaf30cbc1bbbda5cbee6a45043.zip |
iio: adc: max1027: Fix wrong shift with 12-bit devices
10-bit devices must shift the value twice.
This is not needed anymore on 12-bit devices.
Fixes: ae47d009b508 ("iio: adc: max1027: Introduce 12-bit devices support")
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210818111139.330636-2-miquel.raynal@bootlin.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions