OpenCloudOS-Kernel/drivers/iio/magnetometer
Barnabás Czémán 73328d2af5 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: 57e73a423b ("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-10-10 11:57:56 +02:00
..
Kconfig iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
Makefile iio: magnetometer: add ti tmag5273 driver 2022-12-28 17:19:44 +00:00
ak8974.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
ak8975.c iio: magnetometer: ak8975: Fix reading for ak099xx sensors 2024-10-10 11:57:56 +02:00
bmc150_magn.c iio:magnetometer:mbc150: Make bmc150_magn_remove() return void 2022-06-11 14:35:27 +01:00
bmc150_magn.h iio:magnetometer:mbc150: Make bmc150_magn_remove() return void 2022-06-11 14:35:27 +01:00
bmc150_magn_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
bmc150_magn_spi.c Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
hid-sensor-magn-3d.c iio: hid-sensors: Update header includes 2021-06-16 14:53:13 +01:00
hmc5843.h iio: magn: hmc5843: Move struct dev_pm_ops out of header 2022-08-15 22:30:02 +01:00
hmc5843_core.c iio: magn: hmc5843: Move struct dev_pm_ops out of header 2022-08-15 22:30:02 +01:00
hmc5843_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
hmc5843_spi.c iio: magn: hmc5843: Move struct dev_pm_ops out of header 2022-08-15 22:30:02 +01:00
mag3110.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
mmc35240.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
rm3100-core.c iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC 2024-02-23 09:25:06 +01:00
rm3100-i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
rm3100-spi.c iio:magnetometer:rm3100: Move exports to IIO_RM3100 namespace 2022-02-18 11:42:27 +00:00
rm3100.h
st_magn.h iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
st_magn_buffer.c iio:st-sensors: Remove duplicate MODULE_* 2022-02-18 11:36:54 +00:00
st_magn_core.c iio: magnetometer: st_accel: Add LSM303D 2023-05-13 17:56:04 +01:00
st_magn_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
st_magn_spi.c iio: magnetometer: st_magn: Add LSM303C 2023-01-08 13:01:02 +00:00
tmag5273.c iio: tmag5273: fix temperature offset 2024-01-01 12:42:38 +00:00
yamaha-yas530.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00