• Greg Kroah-Hartman's avatar
    Merge tag 'iio-fixes-for-5.12a' of... · 12ec5408
    Greg Kroah-Hartman authored
    Merge tag 'iio-fixes-for-5.12a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus
    
    Jonathan writes:
    
    First set of IIO and counter fixes for the 5.12 cycle
    
    adi,ad7949
    * Fix a wrong bitmask that could lead to an undefined bit being included.
    adi,adi-axi-adc
    * Add missing Kconfig dependencies
    adi,adis16400
    * Wrong error code handling in adis16400 that could lead to failed probe.
    hid-sensor-humidity, temperature
    * Fix alignment and space for timestamp channel.
    hid-sensor-prox
    * Fix an issue with handling of exponent on the channel scaling.
    invensense,mpu3050
    * Fix a hole in error handling.
    qcom,spi-vadc
    * Correct scaling
    st,ab8500-adc
    * Fix wrong scaling (by factor of 1000)
    st,stm32-adc
    * Add missing HAS_IOMEM dependency
    st,stm32-timer-cnt
    * Report count when running off internal clock
    * Fix issue with not checking ceiling before trying to write to hardware
    * Ensure driver doesn't have stashed state which doesn't match hardware by
      rereading from hardware in a slow path.
    
    * tag 'iio-fixes-for-5.12a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
      iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
      iio: hid-sensor-temperature: Fix issues of timestamp channel
      iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
      counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register
      counter: stm32-timer-cnt: fix ceiling write max value
      counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
      iio: adc: ab8500-gpadc: Fix off by 10 to 3
      iio:adc:stm32-adc: Add HAS_IOMEM dependency
      iio: adis16400: Fix an error code in adis16400_initial_setup()
      iio: adc: adi-axi-adc: add proper Kconfig dependencies
      iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
      iio: hid-sensor-prox: Fix scale not correct issue
      iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
    12ec5408
qcom-spmi-vadc.c 23.1 KB