• Greg Kroah-Hartman's avatar
    Merge tag 'iio-fixes-for-4.2a' of... · a732cd43
    Greg Kroah-Hartman authored
    Merge tag 'iio-fixes-for-4.2a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus
    
    Jonathan writes:
    
    First set of IIO fixes for the 4.2 cycle.
    
    * Fix a regression in hid sensors suspend time as a result of adding runtime
      pm.  The normal flow of waking up devices in order to go into suspend
      (given the devices are normally suspended when not reading) to a regression
      in suspend time on some laptops (reports of an additional 8 seconds).
      Fix this by checking to see if a user action resulting in the wake up, and
      make it a null operation if it didn't.  Note that for hid sensors, there is
      nothing useful to be done when moving into a full suspend from a runtime
      suspend so they might as well be left alone.
    * rochip_saradc: fix some missing MODULE_* data including the licence so that
      the driver does not taint the kernel incorrectly and can build as a module.
    * twl4030 - mark irq as oneshot as it always should have been.
    * inv-mpu - write formats for attributes not specified, leading to miss
      interpretation of the gyro scale channel when written.
    * Proximity ABI clarification.  This had snuck through as a mess.  Some
      drivers thought proximity went in one direction, some the other.  We went
      with the most common option, documented it and fixed up the drivers going
      the other way.  Fix for sx9500 included in this set.
    * ad624r - fix a wrong shift in the output data.
    * at91_adc - remove a false limit on the value of the STARTUP register
      applied by too small a type for the device tree parameter.
    * cm3323 - clear the bits when setting the integration time (otherwise
      we can only ever set more bits in the relevant field).
    * bmc150-accel - multiple triggers are registered, but on error were not being
      unwound in the opposite order leading to removal of triggers that had not
      yet successfully been registered (count down instead of up when unwinding).
    * tcs3414 - ensure right part of val / val2 pair read so that the integration
      time is not always 0.
    * cc10001_adc - bug in kconfig dependency. Use of OR when AND was intended.
    a732cd43
bmc150-accel.c 46.4 KB