commit | faaa44955dedc661f083636d816af90975a359ee | [log] [tgz] |
---|---|---|
author | Irina Tirdea <irina.tirdea@intel.com> | Wed Apr 29 21:16:39 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 10 20:31:44 2015 +0100 |
tree | 5f44eee8b3ea069b581d5bf07613d596b5a0369f | |
parent | 42a95584f31c5f11a669f0db72f6b6e9ff00b8d9 [diff] |
iio: core: Introduce IIO_CHAN_INFO_OVERSAMPLING_RATIO Some magnetometers can perform a number of repetitions in HW for each measurement to increase accuracy. One example is Bosch BMC150: http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf. Introduce an interface to set the oversampling ratio for these devices. Signed-off-by: Irina Tirdea <irina.tirdea@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>