]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: imu: bmi323: Use iio read_acpi_mount_matrix() helper
authorDenis Benato <benato.denis96@gmail.com>
Thu, 23 May 2024 17:47:36 +0000 (19:47 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Jun 2024 18:53:07 +0000 (19:53 +0100)
commit5c3266385e4f27c69c03bcbfa68339b49be91c56
tree71bcd6bb920adc09acecd0d40488ce4650c0f882
parent33c33a961ba659b2001d461395e4a95d6d30673f
iio: imu: bmi323: Use iio read_acpi_mount_matrix() helper

bmi150-accel and bmi323-imu are declared in an almost identical way in the ACPI and in some devices such as the Asus RC71L the "ROTM" property can be found: parse and use the ACPI-defined mount-matrix.

Co-developed-by: Luke D. Jones <luke@ljones.dev>
Co-developed-by: Jonathan LoBue <jlobue10@gmail.com>
Signed-off-by: Denis Benato <benato.denis96@gmail.com>
Link: https://lore.kernel.org/r/20240523174736.16692-2-benato.denis96@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/bmi323/bmi323_core.c