]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio:dac:m62332: use dynamic scale
authorHartmut Knaack <knaack.h@gmx.de>
Fri, 28 Aug 2015 21:59:58 +0000 (23:59 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 11 Oct 2015 14:45:17 +0000 (15:45 +0100)
commit399910534cca5f00d22438e80ecc7ccc7f4b8a14
treee673942ffffdb8d8bf137b301855a6d7c3114840
parentacf2f67d055c656938a3980a0745ed62fb7985c9
iio:dac:m62332: use dynamic scale

Some regulators can supply multiple voltages. To take changing voltages
into account, the scale needs to be calculated on every read access.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/m62332.c