IIO: 2nd set of fixes for 6.10

The usual mixed bag of new stuff and long term issues that have surfaced
 as a particular driver gets more adoption.
 
 adi,ad7266
 - Add missing error check that could lead to bad data being reported.
 adi,ad9739a
 - Fix Kconfig to not allow COMPILE_TEST to override lack SPI support.
 bosch,bme680
 - Fix units for pressure value (off by factor of 10)
 - Fix sign on a calibration variable read back from the device
 - Avoid integer overflow in compensation functions.
 - Fix an issue with read sequence that leads to stale data and bad first
   reading.
 freescale,fxls8962af
 - Kconfig dependency fixes.
 ti,hdc3020
 - Fix representation of hysteresis to match ABI by being an offset from
   the current event threshold, not an absolute value.
 xilinx,ams
 - Don't include the ams_ctrl_channels in a computed mask.  This driver is
   making an unusual use of scan_mask (it doesn't support buffers) and that
   lead to an overflow.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAmZtWhcRHGppYzIzQGtl
 cm5lbC5vcmcACgkQVIU0mcT0FojlwQ/8DFgSoZX72RTfLQOuoaYXrSOFTxiRjNwS
 mgGiewvQYaELi+wGqjCkalgR2i0veJkw1UoAJa1eeHVybm643CsnPB3tubAQKduB
 HqvqhytuDWqEfRczk9tF9maNe1ukxTb58/HSz2O0tMQc2pb/96MIEhRdRRcL3Z79
 /uMXBoyFfqvEYWib65D4FpsHYiY+7IQ/8ugcXetxnXC0W6SqgaoxJGTT4WSfh4bd
 g8LzJM3WHDPhlq2YF0GezqkhAXVSkLpMj0/rHhcwGESzZW6X2oLzz21KiZwpqeTq
 nedVXzLBR2LKSsMX8G5GOLf0XAMv9hmks+PfLvlXwo5OSIVxfZRecQlr4GpFexoh
 Vp2nrYDX6SWuOxRP5VZiSk4+M1RULoAbDu/sYOweep6KZJDQ8INxLHsl7C6XQlNe
 Y8gC21o5vdZvGxwl3/7r91Y+R71C8OLbQw6BB/dOKtHutcan41y7b1YyOvXczIIQ
 Z8ujoQh0az6rGpFYbaj7oRyITubHYeCdSLx9eI59w+JsPenhXBKhN7DqEiqB6RTh
 A66mVBvxaOSjGbJb05MPX9W9QxiOpfVrve475vsLE4B7X5zkEZ+5I1vmL3Nf+cXv
 HLjc10kXpbBHmV7f+P+L8HE1ODa4Cgtz7FuXSuLYRP2pQklMCXW6vR4qxaYBh+cH
 VGp9VWXsiw4=
 =ICwC
 -----END PGP SIGNATURE-----

Merge tag 'iio-fixes-for-6.10b' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-linus

Jonathan writes:

IIO: 2nd set of fixes for 6.10

The usual mixed bag of new stuff and long term issues that have surfaced
as a particular driver gets more adoption.

adi,ad7266
- Add missing error check that could lead to bad data being reported.
adi,ad9739a
- Fix Kconfig to not allow COMPILE_TEST to override lack SPI support.
bosch,bme680
- Fix units for pressure value (off by factor of 10)
- Fix sign on a calibration variable read back from the device
- Avoid integer overflow in compensation functions.
- Fix an issue with read sequence that leads to stale data and bad first
  reading.
freescale,fxls8962af
- Kconfig dependency fixes.
ti,hdc3020
- Fix representation of hysteresis to match ABI by being an offset from
  the current event threshold, not an absolute value.
xilinx,ams
- Don't include the ams_ctrl_channels in a computed mask.  This driver is
  making an unusual use of scan_mask (it doesn't support buffers) and that
  lead to an overflow.

* tag 'iio-fixes-for-6.10b' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
  iio: chemical: bme680: Fix sensor data read operation
  iio: chemical: bme680: Fix overflows in compensate() functions
  iio: chemical: bme680: Fix calibration data variable
  iio: chemical: bme680: Fix pressure value output
  iio: humidity: hdc3020: fix hysteresis representation
  iio: dac: fix ad9739a random config compile error
  iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF
  iio: adc: ad7266: Fix variable checking bug
  iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask
This commit is contained in:
Greg Kroah-Hartman 2024-06-17 20:01:23 +02:00
commit 8fe050e94d
7 changed files with 316 additions and 87 deletions