| commit | 6b3d53e4ec431101e5ab4b9d25d2c6aaaba0476b | [log] [tgz] |
|---|---|---|
| author | Yau-ming Leung <ymleung314@gmail.com> | Wed Apr 30 22:46:26 2025 +0800 |
| committer | Benjamin Cabé <kartben@gmail.com> | Tue May 06 16:36:16 2025 +0200 |
| tree | 8673072afbc7e87ed4068669cc738f9a9c6218e8 | |
| parent | 0d08e0d0290773f146c3b02017ca0eb7ea81ed55 [diff] |
drivers: icm42688: ignore invalid fifo data When using 20-bit FIFO packets, invalid data is indicated by the value -524288. Currently, no check is done against this and invalid data is decoded. Fixed by adding a simple check. Also, the wrong bit is used to check if HIRES is enabled. Fixed by using the correct mask. Signed-off-by: Yau-ming Leung <ymleung314@gmail.com>