2nd set of IIO fixes for the 5.13 cycle.
Jonathan Cameron
maintainerThe following changes since commit ba9c25d94dea1a57492a606a1f5dde70d2432583:
Merge tag 'iio-fixes-5.13a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus (2021-05-11 15:17:55 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-5.13b-take2
for you to fetch changes up to 4ed243b1da169bcbc1ec5507867e56250c5f1ff9:
iio: adc: ad7793: Add missing error code in ad7793_setup() (2021-05-22 08:32:36 +0100)
----------------------------------------------------------------
Second set of IIO fixes for the 5.13 cycle
A mixed bag of fixes for various drivers.
Changes since take 1: Fixed a ; in a tag.
adi,ad7124
- Fix miss balanced regulator enable / disable in error path
- Fix potential overflow with non sequential channel numbers from dt.
adi,ad7192
- Avoid disabling clock that was never enabled in error path + remove
- Avoid nasty corner case if regulator voltage is 0 that would result in a good return half way through probe.
adi,ad7746
- Avoid overwriting num_channels just after setting it correctly.
adi,ad7768
- Buffer passed to iio_push_to_buffers_with_timestamp() too small and not aligned appropriately.
adi,ad7793
- Missing return code setting in an error path.
adi,ad7923
- Buffer too small after support for more channels added.
adi,ad5770r
- Missing fwnode_handle_put in error paths.
fsl,fxa21002c
- Missing runtime pm put in error path.
----------------------------------------------------------------
Alexandru Ardelean (1):
iio: adc: ad7192: handle regulator voltage error first
Andy Shevchenko (1):
iio: dac: ad5770r: Put fwnode in error case during ->probe()
Jonathan Cameron (5):
iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.
iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
iio: adc: ad7192: Avoid disabling a clock that was never enabled.
iio: adc: ad7768-1: Fix too small buffer passed to iio_push_to_buffers_with_timestamp()
iio: adc: ad7923: Fix undersized rx buffer.
Lucas Stankus (1):
staging: iio: cdc: ad7746: avoid overwrite of num_channels
Rui Miguel Silva (1):
iio: gyro: fxas21002c: balance runtime power in error path
YueHaibing (1):
iio: adc: ad7793: Add missing error code in ad7793_setup()
drivers/iio/adc/ad7124.c | 36 ++++++++++++++++++++---------------- drivers/iio/adc/ad7192.c | 19 ++++++++++--------- drivers/iio/adc/ad7768-1.c | 8 ++++++-- drivers/iio/adc/ad7793.c | 1 + drivers/iio/adc/ad7923.c | 4 +++- drivers/iio/dac/ad5770r.c | 16 +++++++++++----- drivers/iio/gyro/fxas21002c_core.c | 2 ++ drivers/staging/iio/cdc/ad7746.c | 1 - 8 files changed, 53 insertions(+), 34 deletions(-)
Quoted 7 lines · Jonathan Cameron
The following changes since commit
ba9c25d94dea1a57492a606a1f5dde70d2432583:Merge tag 'iio-fixes-5.13a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus (2021-05-11 15:17:55 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-5.13b-take2
Much better, that worked. Pulled and pushed out, thanks.
greg k-h