diff options
author | Jean-Baptiste Maneyrol <JManeyrol@invensense.com> | 2019-10-16 17:43:28 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-22 14:42:54 +0300 |
commit | 6e82ae6b8d11b948b74e71396efd8e074c415f44 (patch) | |
tree | 3f92013119290e579ad23d98ec2889f533f4919c /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 431f7667bd6889a274913162dfd19cce9d84848e (diff) | |
download | linux-6e82ae6b8d11b948b74e71396efd8e074c415f44.tar.xz |
iio: imu: inv_mpu6050: fix no data on MPU6050
Some chips have a fifo overflow bit issue where the bit is always
set. The result is that every data is dropped.
Change fifo overflow management by checking fifo count against
a maximum value.
Add fifo size in chip hardware set of values.
Fixes: f5057e7b2dba ("iio: imu: inv_mpu6050: better fifo overflow handling")
Cc: stable@vger.kernel.org
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions