1. 25 10月, 2021 4 次提交
  2. 24 10月, 2021 3 次提交
    • N
      iio: frequency: adrf6780: Fix adrf6780_spi_{read,write}() · 7b473ae7
      Nathan Chancellor 提交于
      Clang warns:
      
      drivers/iio/frequency/adrf6780.c:117:1: error: all paths through this
      function will call itself [-Werror,-Winfinite-recursion]
      {
      ^
      drivers/iio/frequency/adrf6780.c:138:1: error: all paths through this
      function will call itself [-Werror,-Winfinite-recursion]
      {
      ^
      2 errors generated.
      
      The underscore variants should be used here.
      
      Link: https://github.com/ClangBuiltLinux/linux/issues/1490
      Fixes: 63aaf6d0 ("iio: frequency: adrf6780: add support for ADRF6780")
      Acked-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
      Signed-off-by: NNathan Chancellor <nathan@kernel.org>
      Link: https://lore.kernel.org/r/20211022195656.1513147-1-nathan@kernel.orgSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7b473ae7
    • G
      Merge tag 'iio-for-5.16b' of... · b6df1fc1
      Greg Kroah-Hartman 提交于
      Merge tag 'iio-for-5.16b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      2nd set of IIO new driver, cleanups and features for the 5.16 cycle
      
      New device support
      * adrf6780 microwave upconverter.
        - New driver for this interesting device including bindings.
      
      Features
      * lite-on ltr501
        - Add dt-bindings including vendor ID and of_device_id table.
        - Add regulator support.
      * sensiron,scd4x
        - Add reporting of channel scale.
      
      Cleanups including fixes for things in this cycle
      * Tree wide: Another set of dev_err_probe() introductions to reduce
        noise in logs when deferred probing is needed and provide more debug
        info. Devices included this time:
        - amlogic,meson_saradc
        - capella,cm3605
        - fsl,imx7d
        - maxim,max1118
        - maxim,max1241
        - nxp,lpc18xx
        - qcom,pm8xxxx-xoadc
        - rockchip,saradc
        - sharp,gp2ap002
        - sterricson,ab8500
        - ti,ads7950
      * core - iio:buffer
        - Fix a path where a ret value is not intialized.
      * channel-mux
        - Add support to mux core subsystem for a settling delay and use
          it in the iio-channel-mux driver.
        - Fix a few dt binding warnings.
      * nxp,lpc18xx
        - Convert to devm_ functions for all of probe and drop remove()
      * st,lsm6dsx
        - Suppress a warning due to lack of handling of an enum *_MAX entry
          that is just there to get the size.
      * st,stm32-adc
        - Add generic channel binding, deprecating the old approach.
        - Add nvmem support to get calibration data for the vrefint channel and
          use it to perform such calibration.
        - Add a binding for sample-time to the generic channel description as it
          can be per channel.
      * ti,adc128s052
        - Use devm_ managed functions and drop remove()
      * vti,sca3000
        - Use sign_extend32() rather than opencoding.
      * xilinx,xadc
        - Drop irq field from state structure as now just used in probe.
      
      * tag 'iio-for-5.16b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (36 commits)
        dt-bindings: iio: frequency: add adrf6780 doc
        iio: frequency: adrf6780: add support for ADRF6780
        iio: chemical: scd4x: Add a scale for the co2 concentration reading
        dt-bindings: iio: io-channel-mux: allow duplicate channel, labels
        dt-bindings: iio: io-channel-mux: add optional #io-channel-cells
        iio: adc: adc128s052: Simplify adc128_probe()
        iio: multiplexer: iio-mux: Support settle-time-us property
        dt-bindings: iio: io-channel-mux: Add property for settle time
        mux: add support for delay after muxing
        iio: adc: stm32-adc: use generic binding for sample-time
        iio: adc: stm32-adc: add vrefint calibration support
        iio: adc: stm32-adc: add support of internal channels
        iio: adc: stm32-adc: add support of generic channels binding
        iio: adc: stm32-adc: split channel init into several routines
        dt-bindings: iio: stm32-adc: add nvmem support for vrefint internal channel
        dt-bindings: iio: stm32-adc: add generic channel binding
        iio: accel: sca3000: Use sign_extend32() instead of opencoding sign extension.
        iio: xilinx-xadc: Remove `irq` field from state struct
        iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()
        iio: light: gp2ap002: Make use of the helper function dev_err_probe()
        ...
      b6df1fc1
    • G
      Merge tag 'iio-fixes-for-5.16a' of... · 8210a200
      Greg Kroah-Hartman 提交于
      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
  3. 22 10月, 2021 19 次提交
  4. 21 10月, 2021 3 次提交
  5. 20 10月, 2021 11 次提交