First set of IIO fixes for the 4.17 cycle.
Jonathan Cameron
maintainerThe following changes since commit 8b438686a001db64c21782d04ef68111e53c45d9:
iio: st_pressure: st_accel: pass correct platform data to init (2018-03-10 16:28:05 +0000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git tags/iio-fixes-for-4.17a
for you to fetch changes up to 76974ef9d1bf397b7bb97892a3b3bc516a1fc2c2:
iio: adc: select buffer for at91-sama5d2_adc (2018-04-21 15:57:10 +0100)
----------------------------------------------------------------
First round of IIO fixes for the 4.17 cycle.
* core
- fix up some issues with overflow etc around wrong types for some fo the kfifo handling functions. Seems unlikely this would be triggered in reality but the fixes are simple so let's tidy them up. Second patch deals with checking the userspace value passed for length for potential overflow.
* ad7793
- Catch up with changes to the ad_sigma_delta core and use read_raw / write_raw iwth IIO_CHAN_INFO_SAMP_FEW to handle sampling frequency control.
* at91-sama5d2
- Channel config for differential channels was completely broken.
- Missing Kconfig dependency for buffer support.
* hid-sensor
- Fix an issue with powering up after resume due to wrong reference counting.
* stm32-dfsdm
- Fix an issue with second writes of the oversampling settings failing.
- Fix an issue with the sample rate being set to half of requested value when particular clock source is used.
----------------------------------------------------------------
Eugen Hristev (2):
iio: adc: at91-sama5d2_adc: fix channel configuration for differential channels
iio: adc: select buffer for at91-sama5d2_adc
Fabrice Gasnier (2):
iio: adc: stm32-dfsdm: fix successive oversampling settings
iio: adc: stm32-dfsdm: fix sample rate for div2 spi clock
Hans de Goede (1):
iio: hid-sensor-trigger: Fix sometimes not powering up the sensor after resume
Martin Kelly (2):
iio:buffer: make length types match kfifo types iio:kfifo_buf: check for uint overflow
Michael Nosthoff (1):
iio: ad7793: implement IIO_CHAN_INFO_SAMP_FREQ
drivers/iio/adc/Kconfig | 1 + drivers/iio/adc/ad7793.c | 75 +++++++--------------- drivers/iio/adc/at91-sama5d2_adc.c | 41 ++++++++++-- drivers/iio/adc/stm32-dfsdm-adc.c | 17 ++++- drivers/iio/buffer/industrialio-buffer-dma.c | 2 +- drivers/iio/buffer/kfifo_buf.c | 11 +++- .../iio/common/hid-sensors/hid-sensor-trigger.c | 8 +-- include/linux/iio/buffer_impl.h | 6 +- 8 files changed, 93 insertions(+), 68 deletions(-)
Quoted 7 lines · Jonathan Cameron
The following changes since commit
8b438686a001db64c21782d04ef68111e53c45d9:iio:
st_pressure:st_accel: pass correct platform data to init (2018-03-10 16:28:05 +0000)are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.gittags/iio-fixes-for-4.17a
Pulled and pushed out, thanks!
greg k-h