1. 23 Jan, 2017 2 commits
    • Linus Walleij's avatar
      iio: accel: fix Kconfig warning · ed8959f4
      Linus Walleij authored
      commit 76222772
      "iio: accel: st_accel: handle deprecated bindings"
      attempted to be smart and let users use the old I2C
      driver and the new SPI driver, or the old SPI driver and
      the new I2C driver in combination for the LIS3LV02,
      and put the restrictions on the I2C and SPI subdrivers
      not not be combined with the old subdrivers.
      
      This doesn't work since the IIO ST accel top-level
      component selects the I2C and SPI subdrivers, resulting
      in the following Kconfig noise:
      
      warning: (IIO_ST_ACCEL_3AXIS) selects IIO_ST_ACCEL_I2C_3AXIS
      which has unmet direct dependencies (IIO && !SENSORS_LIS3_I2C
      && IIO_ST_ACCEL_3AXIS && IIO_ST_SENSORS_I2C)
      warning: (IIO_ST_ACCEL_3AXIS) selects IIO_ST_ACCEL_SPI_3AXIS
      which has unmet direct dependencies (IIO && !SENSORS_LIS3_SPI
      && IIO_ST_ACCEL_3AXIS && IIO_ST_SENSORS_SPI)
      (...)
      
      This fixes the issue by putting the dependencies directly
      in the top-level component instead, so that it never gets
      to select its unselectable subcomponent.
      
      Fixes: 76222772 ("iio: accel: st_accel: handle deprecated bindings")
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarJonathan Cameron <jic23@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ed8959f4
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-4.11b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into work-next · 08cad739
      Greg Kroah-Hartman authored
      Jonathan writes:
      
      Second round of IIO new device support, cleanups and features for the 4.11 cycle
      
      New device support:
      * lsm6dsx imu
        - new driver and bindings.
      * max11100 adc
        - new driver and bindings.
      * tlc4541
        - new driver
      * tmp007 thermopile
        - new driver.
      
      Core
      * in kernel interfaces
        - pass through raw values if no scaling provided and a processed value is
          requested.
      * trigger
        - close a race condition in acquiring trigger reference.
        - constify device_type structures.
        - rework the viio_trigger_alloc function to be much neater and easier to
        read.
        - free trigger resources correctly on some error paths. Avoids putting a
        module we don't have.
      
      Documentation
      * ABI
        - specify a unit for proximity measurements.
      
      Cleanups and features
      * ads1015
        - constify iio_info structure.
      * ads7950 cleanups following merge in previous pull
        - Add device tree bindings
        - Drop the ti prefix from the module name in common with other drivers.
        - Change regulator name to vref to match datasheet and other drivers.
      * ak8974
        - remove a redundant zero timeout check.
      * bmi160
        - use variable names for sizeof instead of types.
      * cm3605
        - mark PM functions as __maybe_unused to avoid a build warning.
      * isl29028 (on it's way towards moving out of staging).
        - alignment fixes and newline improvements.
        - combine proxim_get and read_proxim for simpler code.
        - drop unused ISL29028_DEV_ATTR macro
        - move some error logging into functions to cut out repitition.
        - make error messages more consistent.
        - tidy up some brackets.
        - drop the enable flag that nothing uses.
        - only set proximity rate and ALS scale when relevant channel type is enabled.
        - runtime pm support.
      * lsm6dsx
        - fix wrong values for gyro sensitivitiy.
      * mag3110
        - claim direct mode during sysfs reads to avoid a race condition.
      * max1363
        - export OF device table IDs as module aliases.
      * max30100
        - use msleep for long uncritical delays.
      * mcp4531
        - export OF device table as module aliases.
      * ms5611
        - claim direct mode during sysfs reads to avoid a race condition.
      * opt3001
        - export OF device table as module aliases.
      * sx9500
        - claim direct mode during oversampling changes to avoid a race condition.
      08cad739
  2. 22 Jan, 2017 27 commits
  3. 21 Jan, 2017 6 commits
  4. 20 Jan, 2017 2 commits
  5. 19 Jan, 2017 3 commits