• Greg Kroah-Hartman's avatar
    Merge tag 'iio-fixes-for-5.16a' of... · 8210a200
    Greg Kroah-Hartman authored
    Merge tag 'iio-fixes-for-5.16a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
    
    Jonathan writes:
    
    First set of IIO fixes for the 5.16 cycle
    
    As these are very late in the 5.15 cycle and non are particularly urgent,
    they can wait for the merge window.
    
    Key element in this set is Yang Yingliang has identified a number of
    issues in error paths introduced recently when we added multiple
    buffer support.
    
    Other fixes:
    * adi,ad5662
      - Fix handling of i2c_master_send() return value.
    * adi,ad5766
      - Fix a wrong dt-property name that indicated wrong units and
        did not mach the bindings.
      - Associated 'fix' of the bindings example to have a possible scale.
    * st,pressure-spi
      - Add some missing entries to the spi_device_id table to ensure
        auto-loading works.
    * ti,tsc2046
      - Fix a backwards comparison leading to a false dev_warn
    
    * tag 'iio-fixes-for-5.16a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
      iio: buffer: Fix memory leak in iio_buffers_alloc_sysfs_and_mask()
      iio: adc: tsc2046: fix scan interval warning
      iio: core: fix double free in iio_device_unregister_sysfs()
      iio: core: check return value when calling dev_set_name()
      iio: buffer: Fix memory leak in iio_buffer_register_legacy_sysfs_groups()
      iio: buffer: Fix double-free in iio_buffers_alloc_sysfs_and_mask()
      iio: buffer: Fix memory leak in __iio_buffer_alloc_sysfs_and_mask()
      iio: buffer: check return value of kstrdup_const()
      iio: dac: ad5446: Fix ad5622_write() return value
      Documentation:devicetree:bindings:iio:dac: Fix val
      drivers: iio: dac: ad5766: Fix dt property name
      iio: st_pressure_spi: Add missing entries SPI to device ID table
    8210a200
ad5446.c 14.7 KB