Re: [PATCH-vs-togreg 1/2] iio: ina2xx-adc: update the CALIB. register when RShunt changes

From: Marc Titinger
Date: Mon Mar 14 2016 - 05:24:35 EST




On 12/03/2016 10:19, Jonathan Cameron wrote:
On 11/03/16 14:52, Marc Titinger wrote:
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@xxxxxxxxxxxx>
Other than the two little fixes (Andrew's and the autobuilder one)
this series looks good to me. Will pick up v2.

I think both of these are fixes that will want to go through the fixes
tree after the merge window has closed anyway.

Thanks Jon, sending v2 ASAP.

M.


Jonathan
---
tested with BeagleBone-black and BayLibre-acme.
---
drivers/iio/adc/ina2xx-adc.c | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)

diff --git a/drivers/iio/adc/ina2xx-adc.c b/drivers/iio/adc/ina2xx-adc.c

...