Messages in this thread | | | Date | Sat, 10 Jan 2015 17:25:55 -0800 | From | Guenter Roeck <> | Subject | Re: [PATCHv3] hwmon: (ina2xx) implement update_interval attribute for ina226 |
| |
On 01/09/2015 08:03 AM, Bartosz Golaszewski wrote: > This attribute allows to configure the update interval of ina226. Although > the bus and shunt voltage conversion times remain hardcoded to 1.1 ms, we can > now modify said interval by changing the averaging rate. > > While we're at it - add an additional variable to ina2xx_data, which holds > the current configuration settings - this way we'll be able to restore the > configuration in case of an unexpected chip reset. > > Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Applied to -next.
Thanks, Guenter
| |