diff options
| author | Jean-Baptiste Maneyrol <[email protected]> | 2019-10-16 14:43:28 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2019-10-22 11:42:54 +0000 |
| commit | 6e82ae6b8d11b948b74e71396efd8e074c415f44 (patch) | |
| tree | 3f92013119290e579ad23d98ec2889f533f4919c /lib/test_printf.c | |
| parent | iio: srf04: fix wrong limitation in distance measuring (diff) | |
| download | kernel-6e82ae6b8d11b948b74e71396efd8e074c415f44.tar.gz kernel-6e82ae6b8d11b948b74e71396efd8e074c415f44.zip | |
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: [email protected]
Signed-off-by: Jean-Baptiste Maneyrol <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions
