iio: bmc150: change sampling frequency
authorSathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
Tue, 3 Mar 2015 16:17:56 +0000 (18:17 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 24 Apr 2015 21:13:51 +0000 (17:13 -0400)
commit1930ba06ce4e609ffb57f8edb5e67c263ba629cf
tree2b0a89884818c0ff38346afe33707ba0c2c81ecd
parent42ec319b4475d48340aedfd8ff9f14d5ae70c009
iio: bmc150: change sampling frequency

[ Upstream commit 0ba8da961bd868c67a8dae3dbbee145514515e9c ]

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>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/iio/accel/bmc150-accel.c