kernel_samsung_a53x/drivers/iio/magnetometer
Barnabás Czémán 8485a728a1 iio: magnetometer: ak8975: Fix reading for ak099xx sensors
commit 129464e86c7445a858b790ac2d28d35f58256bbe upstream.

Move ST2 reading with overflow handling after measurement data
reading.
ST2 register read have to be read after read measurment data,
because it means end of the reading and realease the lock on the data.
Remove ST2 read skip on interrupt based waiting because ST2 required to
be read out at and of the axis read.

Fixes: 57e73a423b1e ("iio: ak8975: add ak09911 and ak09912 support")
Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
Link: https://patch.msgid.link/20240819-ak09918-v4-2-f0734d14cfb9@mainlining.org
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:21:45 +01:00
..
ak8974.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ak8975.c iio: magnetometer: ak8975: Fix reading for ak099xx sensors 2024-11-23 23:21:45 +01:00
bmc150_magn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bmc150_magn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bmc150_magn_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bmc150_magn_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hid-sensor-magn-3d.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hmc5843.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hmc5843_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hmc5843_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hmc5843_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mag3110.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmc35240.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rm3100-core.c iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC 2024-11-18 12:13:31 +01:00
rm3100-i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rm3100-spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rm3100.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_magn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_magn_buffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_magn_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_magn_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_magn_spi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00