aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJean-Baptiste Maneyrol <[email protected]>2024-02-19 15:48:25 +0000
committerJonathan Cameron <[email protected]>2024-02-24 16:25:24 +0000
commit60caa8b33bd682a9ed99d1fc3f91d74e1acc9922 (patch)
treeed030d80690e97fb611f23a108a235e8f772e42d /tools/perf/scripts/python/export-to-postgresql.py
parente20f378d993b1034eebe3ae78e67f3ed10e75356 (diff)
iio: imu: inv_mpu6050: fix FIFO parsing when empty
Now that we are reading the full FIFO in the interrupt handler, it is possible to have an emply FIFO since we are still receiving 1 interrupt per data. Handle correctly this case instead of having an error causing a reset of the FIFO. Fixes: 0829edc43e0a ("iio: imu: inv_mpu6050: read the full fifo when processing data") Cc: [email protected] Signed-off-by: Jean-Baptiste Maneyrol <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions