From: Irina Tirdea Date: Wed, 29 Apr 2015 18:16:39 +0000 (+0300) Subject: iio: core: Introduce IIO_CHAN_INFO_OVERSAMPLING_RATIO X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~628^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faaa44955dedc661f083636d816af90975a359ee;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed