iio: bmc150: change sampling frequency
authorSathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
Tue, 3 Mar 2015 16:17:56 +0000 (18:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Apr 2015 08:10:19 +0000 (10:10 +0200)
commitb45b375615ee2553a617a5e6c3f3f4cde04568ee
tree037ecd6ca17908d1f909acb7d54a47c8bf51f33f
parenta8173cd017a912dd333f68bf1c0c31afaf70d4e3
iio: bmc150: change sampling frequency

commit 0ba8da961bd868c67a8dae3dbbee145514515e9c upstream.

Currently driver reports device bandwidth list as available
sampling frequency. But sampling frequency is actually twice
the device bandwidth. This patch fixes this issue.

Signed-off-by: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/accel/bmc150-accel.c