commit | 5cba7caaacfb842c4326959315f2817897711f53 | [log] [tgz] |
---|---|---|
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | Tue May 22 16:18:20 2018 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Jun 10 11:52:29 2018 +0100 |
tree | ccd391c9b2f444a6f10d03ffdb7981a040340bb0 | |
parent | 7b782508f829d39f30a80250935974e8f77c173a [diff] |
iio: imu: inv_mpu6050: fix fifo count reading Use unaligned access since buffer is a bytes table. Truncate fifo count to read only complete datum. Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>