Skip to content
Commit 3865436d authored by Alejandro Tafalla's avatar Alejandro Tafalla Committed by Greg Kroah-Hartman
Browse files

iio: imu: lsm6dsx: Fix mount matrix retrieval



commit 6811694e upstream.

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: dc3d25f2 ("iio: imu: lsm6dsx: Add ACPI mount matrix retrieval")
Signed-off-by: default avatarAlejandro Tafalla <atafalla@dnyon.com>
Acked-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/20230714153132.27265-1-atafalla@dnyon.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b686f607
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment