Re: [PATCHv3] hwmon: (ina2xx) implement update_interval attribute for ina226

2015-01-10 Thread Guenter Roeck
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

Re: [PATCHv3] hwmon: (ina2xx) implement update_interval attribute for ina226

2015-01-10 Thread Guenter Roeck
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

[PATCHv3] hwmon: (ina2xx) implement update_interval attribute for ina226

2015-01-09 Thread Bartosz Golaszewski
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

[PATCHv3] hwmon: (ina2xx) implement update_interval attribute for ina226

2015-01-09 Thread Bartosz Golaszewski
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