1. 14 6月, 2015 3 次提交
  2. 12 6月, 2015 32 次提交
  3. 11 6月, 2015 5 次提交
    • G
      Merge tag 'iio-for-v4.2c' of... · 78a66b00
      Greg Kroah-Hartman 提交于
      Merge tag 'iio-for-v4.2c' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      Third round of new IIO drivers, cleanups and functionality for the 4.2 cycle.
      
      Given Linus announced a 4.8rc coming up, hopefully time for one more
      lot of IIO patches this cycle.  Some of these are actually
      improvements / fixes for patches earlier in the cycle.
      
      New device support
      * st_accel driver - support devices with 8 bit channels.
      
      Cleanup
      * A general cleanup of the iio tools under /tools/ from Hartmut.
        I'm more than a little embarassed by how bad some of these were! Are well,
        much more refined and less bug prone now.
        These cover lots of stuff like unhandled error returns, memory leaks as
        well as general refactoring to tidy the code up.
      * iio_simple_dummy - fix memory leaks in the init functions, drop some
        pointless error returns from functions that never generate errors and
        make the module parameter explicitly unsigned.
      * More buffer handling reworks from Lars-Peter, this time targetting hardware
        buffers (a little used corner that looks likely to get more use in the near
        future). Specifically:
        - Always compute the masklength as inkernel buffer users may need it.
        - Add a means of labeling which buffer modes a given buffer implementation
          supports.
        - In the case of hardware buffers, require strict scan matching rather than
          matching to a superset.  Currently the demux is bypassed by these drivers
          (this may well not change for efficiency reasons) so allowing a superset
          of channels to be selected would otherwise lead to more data than requested
          confusing userspace.
      
      Driver funcationality improvments
      * mmc35240 - adds a compensation to the raw values as borrowed form Memsic's
        own input driver.
      * mma8452
        - event support
        - event debouncing
        - high  pass filter configuration
        - triggers
      * vf610 - allow conversion mode to be adjusted
      
      Fixlets
      * mmc35240
        - Off by one error that by coincidence had no real effect.
        - i2c_device_name should be lowercase.
        - Lack of null terminator at end of attributes array.
        - Avoid computing the fractional part of the magnetic field by moving
          the scaling into userspace where floating point is available to simplify
          the maths.
        - Use a smaller sleep before assuming the measurement is done.  This is
          safe and improves the possible polling rate.
        - Fix sensitivity on z-axis - datasheet disagrees with Memsic's releasedd
          code and the value used in the code seems to be correct.
      * stk3310 - make a local variable signed to ensure error handling works.
      * twl4030
        - fix calculation of the temperature sense current - bug unlikely
          to have ever been noticed as the difference is small.
        - Fix errors in descriptions.
      78a66b00
    • A
      staging: rtl8188eu: eliminate spaces before commas · e703f237
      Andrzej Pietrasiewicz 提交于
      Eliminate "space prohibited before that ','" errors found by checkpatch,
      but do this only to lines which after the patch is applied do not
      exceed 80 characters. Out of that only those lines are changed, whose
      context does not exceed 80 characters in each line. In other words the
      changes are limited to cases where the patch generated is itself
      checkpatch-correct.
      
      Rebased onto next-20150605.
      Signed-off-by: NAndrzej Pietrasiewicz <andrzejtp2010@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e703f237
    • Z
      Staging: lustre: fix space before and after comma in dt_object.c · 623f0e13
      Zoltán Lajos Kis 提交于
      Fixes a space prohibited before that ',' and space required after
      that ',' error in lustre/lustre/obdclass/dt_object.c that were
      found by the checkpatch.pl tool.
      Signed-off-by: NZoltán Lajos Kis <zoltan.lajos.kis@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      623f0e13
    • Z
      Staging: lustre: fix braces are not necessary in dt_object.c · 4828d1fd
      Zoltán Lajos Kis 提交于
      Fixes a braces {} are not necessary for any arm of this statement
      warning in lustre/lustre/obdclass/dt_object.c that was found by
      the checkpatch.pl tool.
      Signed-off-by: NZoltán Lajos Kis <zoltan.lajos.kis@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4828d1fd
    • Z
      Staging: lustre: fix line over 80 characters in dt_object.c · 84ea37b6
      Zoltán Lajos Kis 提交于
      Fixes a line over 80 characters warining in
      lustre/lustre/obdclass/dt_object.c that was found by the
      checkpatch.pl tool.
      Signed-off-by: NZoltán Lajos Kis <zoltan.lajos.kis@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      84ea37b6