commit | d1ef4f2cae6705925088047554e89c34048f926a | [log] [tgz] |
---|---|---|
author | Marc Titinger <mtitinger@baylibre.com> | Mon Mar 14 11:20:44 2016 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Mar 21 19:00:11 2016 +0000 |
tree | 9dc766300b38336fee096a87efe402b24d6b67c8 | |
parent | a9b72c90fc1a7cd547a333e382b3a7c2201fc3e4 [diff] |
iio: ina2xx-adc: update the CALIB. register when RShunt changes The user (or an init script) may setup RShunt via sysfs after the driver was initialized, for instance based on the EEPROM contents of a modular probe. The calibration register must be set accordingly. Signed-off-by: Marc Titinger <marc.titinger@baylibre.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>