summaryrefslogtreecommitdiff
path: root/crypto/aes_ti.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2017-07-20 18:24:18 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-20 17:41:12 +0300
commit8d0e8e795623bd6229cf48bb7777a1c456c370ed (patch)
tree93c16a1c3d48d2d91a989ae7131262404085af3c /crypto/aes_ti.c
parent0d106b74c558e3000aa0e058b4725cacb70ce77a (diff)
downloadlinux-8d0e8e795623bd6229cf48bb7777a1c456c370ed.tar.xz
iio: adc: ti-ads1015: fix scale information for ADS1115
The ti-ads1015 driver supports ADS1015 and ADS1115 devices. The same scale information is used for both devices in this driver, however they have actually different values and the ADS1115's one is not correct. These devices have the same full-scale input voltage range for each PGA selection. So instead of adding another hardcoded scale information, compute a correct scale on demand from each device's resolution. Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'crypto/aes_ti.c')
0 files changed, 0 insertions, 0 deletions