diff options
author | Alejandro Tafalla <[email protected]> | 2023-07-14 17:31:26 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-07-23 13:40:45 +0100 |
commit | 6811694eb2f6b7a4e97be2029edc7dd6a39460f8 (patch) | |
tree | 1da03f3bdb1489b16a73ee8d8e97d61b84a581e4 /lib/mpi/mpiutil.c | |
parent | 09738ccbc4148c62d6c8c4644ff4a099d57f49ad (diff) |
iio: imu: lsm6dsx: Fix mount matrix retrieval
The function lsm6dsx_get_acpi_mount_matrix should return an error when ACPI
support is not enabled to allow executing iio_read_mount_matrix in the
probe function.
Fixes: dc3d25f22b88 ("iio: imu: lsm6dsx: Add ACPI mount matrix retrieval")
Signed-off-by: Alejandro Tafalla <[email protected]>
Acked-by: Lorenzo Bianconi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions