iio: bmi160: Fix ODR setting
authorDaniel Baluta <daniel.baluta@intel.com>
Fri, 29 Apr 2016 11:42:34 +0000 (14:42 +0300)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 09:50:36 +0000 (10:50 +0100)
commitc25d3f37be016b301f446a5257645c4845daf53c
treed67e9b096d5b31a4e3a5b1c4c35baf2451235206
parent5ec97ba0713d118a1cd03ccc7677a13769253bbd
iio: bmi160: Fix ODR setting

mask and val parameters of regmap_update_bits were reveresed.

Fixes: 77c4ad2d6a9 ("iio: imu: Add initial support for Bosch BMI160")
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/bmi160/bmi160_core.c