All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: pressure: abp060mg: Fix scale typo and I2C read handling
@ 2026-11-20  7:11 Oscar Alejandro Sánchez Lucero
  2026-11-20  7:11 ` [PATCH 1/3] iio: pressure: abp060mg: Fix max pressure value for abp001pg Oscar Alejandro Sánchez Lucero
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Oscar Alejandro Sánchez Lucero @ 2026-11-20  7:11 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Marcin Malagowski
  Cc: linux-iio, Oscar Alejandro Sánchez Lucero

This series addresses three minor issues in the Honeywell ABP pressure
sensor driver (abp060mg):

- Fix a typo in the maximum pressure value for the abp001pg variant
  (6985 Pa -> 6895 Pa).
- Validate the byte counts returned by i2c_master_send() and
  i2c_master_recv() to avoid parsing uninitialized stack data on short
  transfers.
- Replace msleep_interruptible() with msleep() so signals do not cut
  the 40 ms sensor conversion delay short.

Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
---
Oscar Alejandro Sánchez Lucero (3):
      iio: pressure: abp060mg: Fix max pressure value for abp001pg
      iio: pressure: abp060mg: Check for short I2C transfers
      iio: pressure: abp060mg: Use msleep() instead of msleep_interruptible()

 drivers/iio/pressure/abp060mg.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
base-commit: adcad7f4e6332cff3d6d7165f41584899f598534
change-id: 20261120-b4-abp060mg-fixes-fa5c210392a6

Best regards,
-- 
Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>


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

end of thread, other threads:[~2026-11-20 10:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20  7:11 [PATCH 0/3] iio: pressure: abp060mg: Fix scale typo and I2C read handling Oscar Alejandro Sánchez Lucero
2026-11-20  7:11 ` [PATCH 1/3] iio: pressure: abp060mg: Fix max pressure value for abp001pg Oscar Alejandro Sánchez Lucero
2026-11-20  9:49   ` Andy Shevchenko
2026-11-20  7:11 ` [PATCH 2/3] iio: pressure: abp060mg: Check for short I2C transfers Oscar Alejandro Sánchez Lucero
2026-11-20  9:49   ` Andy Shevchenko
2026-11-20  7:11 ` [PATCH 3/3] iio: pressure: abp060mg: Use msleep() instead of msleep_interruptible() Oscar Alejandro Sánchez Lucero
2026-11-20  9:54   ` Andy Shevchenko
2026-11-20 10:11     ` Alejandro Lucero

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.