Skip to contentSkip to conversation

Staging/IIO driver fixes for 5.11-rc5

GIT PULL Merged Greg KH 4 participants 5 messages Jan 24, 2021 – Jan 28, 2021

lore
Share & tools
lore

Greg KH

author
#0 lore raw

The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837:

Linux 5.11-rc3 (2021-01-10 14:34:50 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.11-rc5

for you to fetch changes up to a1bfb0ccf94dc79223d0db0d50237d3b3898f0b2:

Merge tag 'iio-fixes-for-5.11a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus (2021-01-15 08:16:35 +0100)

----------------------------------------------------------------
Staging/IIO fixes for 5.11-rc5

Here are some IIO driver fixes for 5.11-rc5 to resolve some reported problems.

Nothing major, just a few small fixes, all of these have been in linux-next for a while and full details are in the shortlog.

----------------------------------------------------------------
Alexandru Ardelean (1):
iio: adc: ti_am335x_adc: remove omitted iio_kfifo_free()

Dan Carpenter (1):

      iio: sx9310: Off by one in sx9310_read_thresh()

David Lechner (1):
counter:ti-eqep: remove floor

Greg Kroah-Hartman (1):

      Merge tag 'iio-fixes-for-5.11a' of https://git.kernel.org/.../jic23/iio into staging-linus

Lars-Peter Clausen (1):
iio: ad5504: Fix setting power-down state

Lorenzo Bianconi (1):
iio: common: st_sensors: fix possible infinite loop in st_sensors_irq_thread

Slaveyko Slaveykov (1):
drivers: iio: temperature: Add delay after the addressed reset command in mlx90632.c

Stephan Gerhold (1):
dt-bindings: iio: accel: bma255: Fix bmc150/bmi055 compatible

Stephen Boyd (1):
iio: sx9310: Fix semtech,avg-pos-strength setting when > 16

 .../bindings/iio/accel/bosch,bma255.yaml           |  4 +--
 drivers/counter/ti-eqep.c                          | 35 ----------------------
 drivers/iio/adc/ti_am335x_adc.c                    |  6 +---
 drivers/iio/common/st_sensors/st_sensors_trigger.c | 31 ++++++++++---------
 drivers/iio/dac/ad5504.c                           |  4 +--
 drivers/iio/proximity/sx9310.c                     |  5 ++--
 drivers/iio/temperature/mlx90632.c                 |  6 ++++
 7 files changed, 31 insertions(+), 60 deletions(-)
#1 lore raw
Quoted 3 lines · Greg KH

David Lechner (1):
counter:ti-eqep: remove floor

I'm not sure why that ti-eqep counter driver seems to be in your "iio/staging" pile rather than "char/misc", but whatever..

Linus

merge bot Merged
#4 lore raw
In reply to Greg KH
The pull request you sent on Sun, 24 Jan 2021 13:58:03 +0100:

The pull request you sent on Sun, 24 Jan 2021 13:58:03 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.11-rc5

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/832bceefa08ef830388c175911fe17e6ef0125b9

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
author
#2 lore raw
In reply to Linus Torvalds
Quoted 7 lines · Linus Torvalds
Quoted 3 lines · Greg KH

David Lechner (1):
counter:ti-eqep: remove floor

I'm not sure why that ti-eqep counter driver seems to be in your "iio/staging" pile rather than "char/misc", but whatever..

Jonathan said why that was needed, I think it was due to fixes in the counter core code, but he can verify this better than I can...

thanks,

greg k-h

#3 lore raw
Quoted 11 lines · On Mon, 25 Jan 2021 15:08:17 +0100 Greg KH <[email protected]> wrote:
Quoted 7 lines · Linus Torvalds
Quoted 3 lines · Greg KH

David Lechner (1):
counter:ti-eqep: remove floor

I'm not sure why that ti-eqep counter driver seems to be in your "iio/staging" pile rather than "char/misc", but whatever..

Jonathan said why that was needed, I think it was due to fixes in the counter core code, but he can verify this better than I can...

Hi Linus / Greg,

Bit of history involved here...

The counter drivers started out as just another sensor type under IIO, but ended up pushing the boundaries of the ABI a lot - ultimately making it clear that they really didn't fit in IIO. William came up with a better abstraction / framework that became drivers/counter/, but currently the patch flow for drivers/counter/ is sufficiently low that I handle their patches along side IIO rather than via a separate tree.

There is also a cross dependency because of legacy IIO ABI though we are aiming to drop that either this cycle or next.

Hope that clears it up. If either of you would prefer it a different way in future let me know.

This particular fix was local to the driver - it was pretending it supported something that hardware couldn't actually do.

Thanks,

Jonathan

Quoted 4 lines

thanks,

greg k-h