• Greg Kroah-Hartman's avatar
    Merge tag 'iio-fixes-for-4.2b' of... · 8c5dfdbb
    Greg Kroah-Hartman authored
    Merge tag 'iio-fixes-for-4.2b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus
    
    Jonathan writes:
    
    Second set of IIO fixes for the 4.2 cycle. Note these depend (mostly) on
    material in the recent merge window, hence their separation from set (a)
    as the fixes-togreg branch predated the merge window.  I am running rather
    later with these than I would have liked hence the large set.
    
    * stk3310 fixes from Hartmut's review that came in post merge
      - fix direction of proximity inline with recent documentation
        clarification.
      - fix missing REGMAP_I2C dependency
      - rework the error handling for raw readings to fix an failure to power
        down in the event of a raw reading failing.
      - fix a bug in the compensation code which was toggling an extra bit in the
        register.
    * mmc35240 - reported samplign frequencies were wrong.
    * ltr501 fixes
      - fix a case of returning the return value of a regmap_read instead of
        the value read.
      - fix missing regmap dependency
    * sx9500 - fix missing default values for ret in a couple of places to handle
      the case of no enabled channels.
    * tmp006 - check that writes to info_mask elements are actually to writable
      ones.  Otherwise, writing to any of them will change the sampling frequency.
    8c5dfdbb
sx9500.c 24.9 KB