commit | 18edac2e22f47e24815f2c32abdcee183a349e6a | [log] [tgz] |
---|---|---|
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | Wed May 24 02:09:06 2017 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Jun 03 10:01:57 2017 +0100 |
tree | ee1735df51d27fb13718f719b2135739a532e104 | |
parent | 6b503b216d1eff4d61a0bc34e09d1fd4d6e0ee79 [diff] |
iio: adc: Fix integration time/averaging for INA219/220 INA226/230/231 has integration times per voltage channel and common averaging setting for both channels, while the INA219/220 only has a combined integration time/averaging setting per channel. Only expose the averaging attribute for the INA226, and expose the correct integration times for the INA219. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>