[GIT PULL] Staging/IIO driver fixes for 5.8-rc6

From: Greg KH
Date: Thu Jul 16 2020 - 11:29:47 EST


The following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68:

Linux 5.8-rc3 (2020-06-28 15:00:24 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.8-rc6

for you to fetch changes up to ef75e14a6c935eec82abac07ab68e388514e39bc:

staging: comedi: verify array index is correct before using it (2020-07-10 14:03:00 +0200)

----------------------------------------------------------------
IIO/Staging driver fixes for 5.8-rc6

Here are some IIO and staging driver fixes for 5.8-rc6.

The majority of fixes are for IIO drivers, resolving a number of small
reported issues, and there are some counter fixes in here too that were
tied to the IIO fixes. There's only one staging driver fix here, a
comedi fix found by code inspection.

All of these have been in linux-next for a while with no reported
issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Christophe JAILLET (1):
iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()'

Chuhong Yuan (1):
iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()

Dan Carpenter (1):
staging: comedi: verify array index is correct before using it

Dinghao Liu (1):
iio: magnetometer: ak8974: Fix runtime PM imbalance on error

Greg Kroah-Hartman (1):
Merge tag 'iio-fixes-for-5.8a' of git://git.kernel.org/.../jic23/iio into staging-linus

Jonathan Cameron (6):
iio:health:afe4403 Fix timestamp alignment and prevent data leak.
iio:health:afe4404 Fix timestamp alignment and prevent data leak.
iio:magnetometer:ak8974: Fix alignment and data leak issues
iio:humidity:hdc100x Fix alignment and data leak issues
iio:humidity:hts221 Fix alignment and data leak issues
iio:pressure:ms5611 Fix buffer element alignment

Matt Ranostay (1):
iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers

Navid Emamdoost (1):
iio: pressure: zpa2326: handle pm_runtime_get_sync failure

Nuno Sá (1):
iio: adc: adi-axi-adc: Fix object reference counting

Syed Nayyar Waris (2):
counter: 104-quad-8: Add lock guards - differential encoder
counter: 104-quad-8: Add lock guards - filter clock prescaler

drivers/counter/104-quad-8.c | 22 ++++++++++++++++---
drivers/iio/accel/mma8452.c | 5 ++++-
drivers/iio/adc/ad7780.c | 2 +-
drivers/iio/adc/adi-axi-adc.c | 4 ++--
drivers/iio/health/afe4403.c | 9 +++++---
drivers/iio/health/afe4404.c | 8 ++++---
drivers/iio/humidity/hdc100x.c | 10 ++++++---
drivers/iio/humidity/hts221.h | 7 ++++--
drivers/iio/humidity/hts221_buffer.c | 9 ++++----
drivers/iio/industrialio-core.c | 2 ++
drivers/iio/magnetometer/ak8974.c | 29 +++++++++++++++----------
drivers/iio/pressure/ms5611_core.c | 11 +++++++---
drivers/iio/pressure/zpa2326.c | 4 +++-
drivers/staging/comedi/drivers/addi_apci_1500.c | 10 ++++++---
14 files changed, 91 insertions(+), 41 deletions(-)