Skip to content
  1. Jan 23, 2017
    • Marcos Paulo de Souza's avatar
      staging: greybus: audio_gb.c: Change uint32_t to u32 · 41a5d7c0
      Marcos Paulo de Souza authored
      
      
      Change uint32_t to u32, solved the issue reported by checkpatch.pl:
      
      CHECK: Prefer kernel type 'u32' over 'uint32_t'
      +			uint32_t *format, uint32_t *rate, u8 *channels,
      
      CHECK: Prefer kernel type 'u32' over 'uint32_t'
      +			uint32_t format, uint32_t rate, u8 channels,
      
      Signed-off-by: default avatarMarcos Paulo de Souza <marcos.souza.org@gmail.com>
      Acked-by: default avatarMark Greer <mgreer@animalcreek.com>
      Acked-by: default avatarVaibhav Agarwal <vaibhav.sr@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      41a5d7c0
    • Derek Robson's avatar
      Staging: rtl8188eu: os_dep: usb_ops_linux.c - style fix · 11b74593
      Derek Robson authored
      
      
      Fixed comparison, moved the constant to the right side of the test
      Found using checkpatch
      
      Signed-off-by: default avatarDerek Robson <robsonde@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      11b74593
    • simran singhal's avatar
      staging: rtl8192u: Adding space around '=' · d0f619b2
      simran singhal authored
      
      
      This patch fixes the checkpatch issue by adding space around '='.
      
      Signed-off-by: default avatarsimran singhal <singhalsimran0@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d0f619b2
    • 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
    • Alison Schofield's avatar
      iio: trigger: free trigger resource correctly · 10e840df
      Alison Schofield authored
      
      
      These stand-alone trigger drivers were using iio_trigger_put()
      where they should have been using iio_trigger_free().  The
      iio_trigger_put() adds a module_put which is bad since they
      never did a module_get.
      
      In the sysfs driver, module_get/put's are used as triggers are
      added & removed. This extra module_put() occurs on an error path
      in the probe routine (probably rare).
      
      In the bfin-timer & interrupt trigger drivers, the module resources
      are not explicitly managed, so it's doing a put on something that
      was never get'd.  It occurs on the probe error path and on the
      remove path (not so rare).
      
      Tested with the sysfs trigger driver.
      The bfin & interrupt drivers were build tested & inspected only.
      
      Signed-off-by: default avatarAlison Schofield <amsfield22@gmail.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      10e840df
  2. Jan 22, 2017
  3. Jan 21, 2017
  4. Jan 20, 2017