• Greg Kroah-Hartman's avatar
    Merge tag 'iio-fixes-for-6.3a' of... · 4bffd2c7
    Greg Kroah-Hartman authored
    Merge tag 'iio-fixes-for-6.3a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-linus
    
    Jonathan writes:
    
    1st set of IIO fixes for 6.3
    
    Usual mixed bag:
    
    - core - output buffers
      Fix return of bytes written when only some succeed.
      Fix O_NONBLOCK handling to not block.
    
    - adi,ad7791
      Fix IRQ type.  Not confirmed to have any impact but good to correct it anyway
    
    - adi,adis16400
      Missing CONFIG_CRC32
    
    - capella,cm32181
      Unregister 2nd I2C client if one is used.
    
    - cio-dac
      Fix bitdepth for range check on write.
    
    - linear,ltc2497
      Fix a wrong shift of the LSB introduced when switching to be24 handling.
    
    - maxim,max11410
      Fix handling of return code in read_poll_timeout()
    
    - qcom,spmi-adc
      Fix an accidental change of channel name to include the reg value from OF.
    
    - ti,palmas
      Fix a null dereference on remove due to wrong function used to get the
      drvdata.
    
    - ti,ads7950
      Mark GPIO as can sleep.
    
    * tag 'iio-fixes-for-6.3a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
      iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
      iio: adc: palmas_gpadc: fix NULL dereference on rmmod
      iio: adc: max11410: fix read_poll_timeout() usage
      iio: dac: cio-dac: Fix max DAC write value check for 12-bit
      iio: light: cm32181: Unregister second I2C client if present
      iio: accel: kionix-kx022a: Get the timestamp from the driver's private data in the trigger_handler
      iio: adc: ad7791: fix IRQ flags
      iio: buffer: make sure O_NONBLOCK is respected
      iio: buffer: correctly return bytes written in output buffers
      iio: light: vcnl4000: Fix WARN_ON on uninitialized lock
      iio: adis16480: select CONFIG_CRC32
      drivers: iio: adc: ltc2497: fix LSB shift
      iio: adc: qcom-spmi-adc5: Fix the channel name
    4bffd2c7
vcnl4000.c 36.8 KB