Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 00/25] IIO: Various fixes mostly related to buffered capture.
@ 2026-11-29 21:06 Jonathan Cameron
  2026-11-29 21:06 ` [PATCH 01/25] iio: adc: ti-ads131e08: fix the size of the scan buffer Jonathan Cameron
                   ` (25 more replies)
  0 siblings, 26 replies; 32+ messages in thread
From: Jonathan Cameron @ 2026-11-29 21:06 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Tomislav Denis, Matt Ranostay, Abhash Jha, Petre Rodan,
	Mårten Lindahl, Dan Murphy, Sean Nyekjaer, Tomas Melin,
	Michael Hennerich, Lars-Peter Clausen, Leonard Crestez,
	Peter Meerwald-Stadler, Neil Armstrong, Dixit Parmar,
	Matti Vaittinen, Stepan Ionichev, Srinivas Pandruvada,
	Joachim Eastwood, Tiberiu Breana, Maxwell Doose, Tomasz Duszynski,
	Alison Schofield, Christian Eggers, Andreas Klinger, linux-iio,
	linux
  Cc: Jonathan Cameron, stable

I havee pulled this lot out as precursors of a major rework I plan to
post shortly.  That finally proposes a path to get rid of the need to
call iio_trigger_notify_done() in most cases and allows a lot of
related code improvements.

There are a couple of patches in here that are 'probably not' fixes.
That is I couldn't establish that bad things happen as opposed to ones
outside of the intent of the driver author.

Anyhow, please take a look. All LLM assisted (though I rewrote some
commit messages for brevity and to add more commentary).
Build tested only.

I may hold off on sending the actual rework for a while given I'm dumping
this set of fixes on the already overburdened reviewers!

Thanks

Jonathan

Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
---
Jonathan Cameron (25):
      iio: adc: ti-ads131e08: fix the size of the scan buffer
      iio: potentiostat: lmp91000: fix NULL deref setting immutable trigger
      iio: light: vl6180: notify trigger when reading data fails
      iio: accel: bma220: return error if triggered buffer setup fails
      iio: adc: ti-adc084s021: don't push stale data if the conversion fails
      iio: adc: ti-ads124s08: don't push data if reading a channel fails
      iio: adc: ti-ads8688: don't push an error code as a sample
      iio: adc: ti-ads8688: take the lock in the trigger handler
      iio: adc: ti-ads8688: fix the endianness in the channel description
      iio: accel: sca3300: hold the lock across error handling in register access
      iio: imu: adis16400: don't push stale data if the SPI transfer fails
      iio: light: si1145: return IRQ_NONE if no interrupt is flagged
      iio: magnetometer: als31300: print the regmap error code on read failure
      iio: magnetometer: tlv493d: fix polling for valid data
      iio: proximity: isl29501: don't push uninitialized data on read failure
      iio: pressure: rohm-bm1390: only return IRQ_NONE if data ready is not set
      iio: accel: kxcjk-1013: claim direct mode for raw reads
      iio: accel: mma7455: claim direct mode for raw reads
      iio: accel: mxc4005: claim direct mode for raw reads
      iio: accel: stk8ba50: claim direct mode for raw reads
      iio: chemical: scd30: claim direct mode before taking the lock in read_raw()
      iio: humidity: hdc100x: claim direct mode before taking the lock in read_raw()
      iio: light: as73211: claim direct mode before taking the lock in write_raw()
      iio: light: veml6046x00: claim direct mode before starting a single read
      iio: magnetometer: bmc150_magn: claim direct mode for raw reads

 drivers/iio/accel/bma220_core.c        |  2 +-
 drivers/iio/accel/kxcjk-1013.c         | 36 ++++++++++++++++++----------------
 drivers/iio/accel/mma7455_core.c       |  7 +++++--
 drivers/iio/accel/mxc4005.c            |  7 +++++--
 drivers/iio/accel/sca3300.c            | 12 ++++++------
 drivers/iio/accel/stk8ba50.c           | 18 +++++++++--------
 drivers/iio/adc/ti-adc084s021.c        |  5 ++++-
 drivers/iio/adc/ti-ads124s08.c         | 21 ++++++++++++++++----
 drivers/iio/adc/ti-ads131e08.c         | 11 ++++-------
 drivers/iio/adc/ti-ads8688.c           | 13 ++++++++++--
 drivers/iio/chemical/scd30_core.c      | 26 +++++++++++++++---------
 drivers/iio/humidity/hdc100x.c         | 10 +++++++---
 drivers/iio/imu/adis16400.c            |  6 ++++--
 drivers/iio/light/as73211.c            | 13 +++++-------
 drivers/iio/light/si1145.c             |  2 +-
 drivers/iio/light/veml6046x00.c        | 14 ++++++-------
 drivers/iio/light/vl6180.c             |  3 ++-
 drivers/iio/magnetometer/als31300.c    |  2 +-
 drivers/iio/magnetometer/bmc150_magn.c |  3 ++-
 drivers/iio/magnetometer/tlv493d.c     |  2 +-
 drivers/iio/potentiostat/lmp91000.c    | 14 ++++++-------
 drivers/iio/pressure/rohm-bm1390.c     | 14 ++++++++-----
 drivers/iio/proximity/isl29501.c       |  7 ++++++-
 23 files changed, 151 insertions(+), 97 deletions(-)
---
base-commit: 7083dbb93943f4a468d35bbdb4f1d523a3069f2b
change-id: 20261129-messing-fixes3323-384e887a316b

Best regards,
--  
Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2026-12-02 16:01 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 21:06 [PATCH 00/25] IIO: Various fixes mostly related to buffered capture Jonathan Cameron
2026-11-29 21:06 ` [PATCH 01/25] iio: adc: ti-ads131e08: fix the size of the scan buffer Jonathan Cameron
2026-11-29 21:06 ` [PATCH 02/25] iio: potentiostat: lmp91000: fix NULL deref setting immutable trigger Jonathan Cameron
2026-11-30  0:01   ` Jonathan Cameron
2026-11-29 21:06 ` [PATCH 03/25] iio: light: vl6180: notify trigger when reading data fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 04/25] iio: accel: bma220: return error if triggered buffer setup fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 05/25] iio: adc: ti-adc084s021: don't push stale data if the conversion fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 06/25] iio: adc: ti-ads124s08: don't push data if reading a channel fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 07/25] iio: adc: ti-ads8688: don't push an error code as a sample Jonathan Cameron
2026-11-29 21:06 ` [PATCH 08/25] iio: adc: ti-ads8688: take the lock in the trigger handler Jonathan Cameron
2026-11-29 21:06 ` [PATCH 09/25] iio: adc: ti-ads8688: fix the endianness in the channel description Jonathan Cameron
2026-11-29 21:06 ` [PATCH 10/25] iio: accel: sca3300: hold the lock across error handling in register access Jonathan Cameron
2026-11-29 21:06 ` [PATCH 11/25] iio: imu: adis16400: don't push stale data if the SPI transfer fails Jonathan Cameron
2026-11-29 21:06 ` [PATCH 12/25] iio: light: si1145: return IRQ_NONE if no interrupt is flagged Jonathan Cameron
2026-11-29 21:06 ` [PATCH 13/25] iio: magnetometer: als31300: print the regmap error code on read failure Jonathan Cameron
2026-11-30  8:38   ` Neil Armstrong
2026-11-29 21:06 ` [PATCH 14/25] iio: magnetometer: tlv493d: fix polling for valid data Jonathan Cameron
2026-11-29 21:06 ` [PATCH 15/25] iio: proximity: isl29501: don't push uninitialized data on read failure Jonathan Cameron
2026-11-29 21:06 ` [PATCH 16/25] iio: pressure: rohm-bm1390: only return IRQ_NONE if data ready is not set Jonathan Cameron
2026-11-30 11:03   ` Matti Vaittinen
2026-11-30 23:45     ` Jonathan Cameron
2026-12-02 16:01       ` Matti Vaittinen
2026-11-29 21:06 ` [PATCH 17/25] iio: accel: kxcjk-1013: claim direct mode for raw reads Jonathan Cameron
2026-11-29 21:06 ` [PATCH 18/25] iio: accel: mma7455: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 19/25] iio: accel: mxc4005: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 20/25] iio: accel: stk8ba50: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 21/25] iio: chemical: scd30: claim direct mode before taking the lock in read_raw() Jonathan Cameron
2026-11-29 21:06 ` [PATCH 22/25] iio: humidity: hdc100x: " Jonathan Cameron
2026-11-29 21:06 ` [PATCH 23/25] iio: light: as73211: claim direct mode before taking the lock in write_raw() Jonathan Cameron
2026-11-29 21:06 ` [PATCH 24/25] iio: light: veml6046x00: claim direct mode before starting a single read Jonathan Cameron
2026-11-29 21:06 ` [PATCH 25/25] iio: magnetometer: bmc150_magn: claim direct mode for raw reads Jonathan Cameron
2026-11-30  0:20 ` [PATCH 00/25] IIO: Various fixes mostly related to buffered capture Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox