Bartosz Golaszewski 509416a8e7 hwmon: (ina2xx) reinitialize the chip in case it's been reset
Chips from the ina family don't like to be uninitialized. In case the power
is cut-off and restored again the calibration register will be reset
to 0 and both the power and current registers will remain at 0.

Check the calibration register in ina2xx_update_device() and reinitialize
the chip if needed.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2015-01-25 21:23:58 -08:00
..
2014-01-29 20:40:08 +01:00
2014-08-04 07:01:35 -07:00
2014-07-23 15:01:44 -07:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-08-04 07:01:36 -07:00
2013-03-18 21:19:49 +01:00
2014-08-05 19:44:42 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-01-29 20:40:08 +01:00
2013-08-11 22:10:39 -07:00
2014-12-14 16:10:09 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00