The following changes since commit 38e7571c07be01f9f19b355a9306a4e3d5cb0f5b: Merge tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-block (2019-03-08 14:48:40 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-for-5.1a for you to fetch changes up to 7f75591fc5a123929a29636834d1bcb8b5c9fee3: iio: core: fix a possible circular locking dependency (2019-03-31 11:11:31 +0100) ---------------------------------------------------------------- First set of IIO fixes for the 5.1 cycle. Mostly the usual mix, but the bme680 SPI fix is much larger than I would normally like. It never worked, but conversely we have code there that would make people expect it to do so. Chances of side effects are very low. * core - Fix an uninitialised bitaks that could potentially result in random channels being enabled on startup. * ad7192 - Fix a wrong channel address for ad7193. * ade7854 - Fix a typo that results in returning peak voltage instead of peak current. * at91 - Fix a potential hang due to a race on interrupt setting. * bmg160 - Fix scale factor of temperature * bme680 - Fix scale factor of temperature - Fix SPI read interface. This is a bit of a large patch as it seems that it never worked. It's major for this driver but is unlikely to have any negative side effects. * kxcjk1013 - restore sensor range setting after resume. * mcp4725 - make sure to store powerdown bits when storing to the eeprom. * mpu3050 - Mask the chip ID correctly as we have chips that set the bother bits of this register. * sgp30 - Fix a missing Kconfig block that means the driver doesn't actually ever get built. ---------------------------------------------------------------- Arnd Bergmann (1): iio: pms7003: select IIO_TRIGGERED_BUFFER Dragos Bogdan (1): iio: ad_sigma_delta: select channel when reading register Fabrice Gasnier (1): iio: core: fix a possible circular locking dependency Georg Ottinger (1): iio: adc: at91: disable adc channel interrupt in timeout case Gwendal Grignou (1): iio: cros_ec: Fix the maths for gyro scale calculation Jean-Francois Dagenais (1): iio: dac: mcp4725: add missing powerdown bits in store eeprom Jonathan Cameron (1): iio: chemical: fix missing Kconfig block for sgp30 Lars-Peter Clausen (1): iio: Fix scan mask selection Leonard Pollak (1): Staging: iio: meter: fixed typo Mike Looijmans (3): iio/gyro/bmg160: Use millidegrees for temperature scale iio:chemical:bme680: Fix, report temperature in millidegrees iio:chemical:bme680: Fix SPI read interface Mircea Caprioru (1): staging: iio: ad7192: Fix ad7193 channel address Sergey Larin (1): iio: gyro: mpu3050: fix chip ID reading Sven Van Asbroeck (3): iio: adc: xilinx: fix potential use-after-free on remove iio: adc: xilinx: fix potential use-after-free on probe iio: adc: xilinx: prevent touching unclocked h/w on remove he, bo (1): io: accel: kxcjk1013: restore the range after resume. drivers/iio/accel/kxcjk-1013.c | 2 + drivers/iio/adc/ad_sigma_delta.c | 1 + drivers/iio/adc/at91_adc.c | 28 +++-- drivers/iio/adc/xilinx-xadc-core.c | 3 +- drivers/iio/chemical/Kconfig | 14 +++ drivers/iio/chemical/bme680.h | 6 +- drivers/iio/chemical/bme680_core.c | 54 ++++++++-- drivers/iio/chemical/bme680_i2c.c | 21 ---- drivers/iio/chemical/bme680_spi.c | 115 ++++++++++++++------- .../iio/common/cros_ec_sensors/cros_ec_sensors.c | 7 +- drivers/iio/dac/mcp4725.c | 1 + drivers/iio/gyro/bmg160_core.c | 6 +- drivers/iio/gyro/mpu3050-core.c | 8 +- drivers/iio/industrialio-buffer.c | 5 +- drivers/iio/industrialio-core.c | 4 +- drivers/staging/iio/adc/ad7192.c | 8 +- drivers/staging/iio/meter/ade7854.c | 2 +- 17 files changed, 183 insertions(+), 102 deletions(-)