diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2020-07-28 13:48:25 -0700 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-08-22 11:38:41 +0100 |
commit | 336306790b2bbf7ce837625fa3b24ba724d05838 (patch) | |
tree | 5b7c18a5a019f7e39fb4300ccbaae799a77a5d06 /drivers/counter | |
parent | 1dffeb8b8b4c261c45416d53c75ea51e6ece1770 (diff) | |
download | linux-stable-336306790b2bbf7ce837625fa3b24ba724d05838.tar.gz linux-stable-336306790b2bbf7ce837625fa3b24ba724d05838.tar.bz2 linux-stable-336306790b2bbf7ce837625fa3b24ba724d05838.zip |
iio: cros_ec: Set Gyroscope default frequency to 25Hz
BMI160 Minimium gyroscope frequency in normal mode is 25Hz.
When older EC firmware do not report their sensors frequencies,
use 25Hz as the minimum for gyroscope to be sure it works on BMI160.
Fixes: ae7b02ad2f32d ("iio: common: cros_ec_sensors: Expose cros_ec_sensors frequency range via iio sysfs")
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/counter')
0 files changed, 0 insertions, 0 deletions