]> git.baikalelectronics.ru Git - kernel.git/commit
iio: magnetometer: st_magn: Support mount matrix
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 18 May 2021 23:07:21 +0000 (01:07 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Jun 2021 17:24:13 +0000 (18:24 +0100)
commit5e7cbc14d25f66e555ea669b571fb275ccecf1d4
tree74d8ea0bec25e768bebc2b8488f7d9795780922b
parentf4be95da119443fabff0b593c55e846d145ad232
iio: magnetometer: st_magn: Support mount matrix

Add support to read and present the mounting matrix on ST magnetometers.

Cc: Denis Ciocca <denis.ciocca@st.com>
Cc: Daniel Drake <drake@endlessm.com>
Cc: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210518230722.522446-4-linus.walleij@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/st_magn_core.c