1. 02 Nov, 2019 2 commits
  2. 01 Nov, 2019 6 commits
    • Gabriela Bittencourt's avatar
      staging: rts5208: Eliminate the use of Camel Case in file sd.h · f8be8d1e
      Gabriela Bittencourt authored
      Cleans up checks of "Avoid CamelCase" in file sd.h
      Even though the constant "DCM_LOW_FREQUENCY_MODE_SET" is defined and never used,
      it's useful to keep it because it documents the device.
      Signed-off-by: default avatarGabriela Bittencourt <gabrielabittencourt00@gmail.com>
      
      Link: https://lore.kernel.org/r/20191031230243.3462-4-gabrielabittencourt00@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f8be8d1e
    • Gabriela Bittencourt's avatar
    • Gabriela Bittencourt's avatar
    • Roi Martin's avatar
      staging: exfat: replace kmalloc with kmalloc_array · 129376c6
      Roi Martin authored
      Replace expressions of the form:
      	kmalloc(count * size, GFP_KERNEL);
      With:
      	kmalloc_array(count, size, GFP_KERNEL);
      Signed-off-by: default avatarRoi Martin <jroi.martin@gmail.com>
      Link: https://lore.kernel.org/r/20191031123139.32361-1-jroi.martin@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      129376c6
    • Davidlohr Bueso's avatar
      drivers/staging/exfat: Replace binary semaphores for mutexes · 3ae82f44
      Davidlohr Bueso authored
      At a slight footprint cost (24 vs 32 bytes), mutexes are more optimal
      than semaphores; it's also a nicer interface for mutual exclusion,
      which is why they are encouraged over binary semaphores, when possible.
      
      For both v_sem and z_sem, their semantics imply traditional lock
      ownership; that is, the lock owner is the same for both lock/unlock
      operations. Therefore it is safe to convert.
      Signed-off-by: default avatarDavidlohr Bueso <dave@stgolabs.net>
      Acked-by: default avatarValdis Kletnieks <valdis.kletnieks@vt.edu>
      Link: https://lore.kernel.org/r/20191030144916.10802-1-dave@stgolabs.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3ae82f44
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-5.5b' of... · ebc8f4f6
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-5.5b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Second set of IIO + counter new device support, features etc for the 5.5 cycle.
      
      Note two merge commits in here, both for immutable branches based
      of 5.4-rc1.
      1. Ti eqep driver because of some file moves in precursor patches.
         I suspect no one else will pull this one.
      2. ab8500 refactor as changes in power supply, hwmon and mfd trees.
         This may come via numerous trees as well as IIO.
      
      Counter subsystem related
      * ti eqep
        - New device support with bindings.
        - Includes prior file move to reflect more general use of ti-pwmss.
      * Counter core
        - simplify count_read and count_write callbacks + document change.
        - fix a typo in docs.
      
      Various subsystems related
      * AB8500
        - ab8500_btemp driver converted to be an IIO consumer driver.
        - ab8500_charger driver converted to be an IIO consumer driver.
        - ab8500_fg fuel gauge driver converted to be an IIO consumer driver.
        - ab8500 hwmon driver converted to be an IIO consumer driver.
        - mfd bindings augmented with the adc channels to make the above work.
        - drop original mfd driver.
      
      New device support
      * ab8500
        - new ADC driver used by the above other subystems via the IIO consumer
          interface.
      * adux1020 photometric sensor
        - new driver and dt bindings.
      * fxos877cq
        - new driver for this simple(ish) IMU with DT bindings.
      * intel_mrfld_adc
        -  new driver for the ADC found on Intel Merrifield platforms.
      * ltc2983
        - new driver for this multi-sensor type temperature interface.
          Includes complex DT bindings.
      * max1027
        - support for 12 bit devices, max1227, max1229 and max1231 + add to trivial
          bindings.
      * st_lsm6dsx
        - support for the LSM6DS0 6 axis MEMs sensor.
          Note different from the LSM6DSO which the driver already supports *sigh*
        - support for the LSM6DSRX 6 axis MEMs sensor.
      
      Features and cleanups
      * ad7303
        - replace use of core mlock with a local lock with cleanly defined scope.
      * ad9834
        - add a check for devm_clk_get failing.
      * at91-sama5d2
        - tidy up a 0 as NULL warning.
      * bmp280
        - endian type tidy ups.
        - use bulk regulator ops for a small reduction in code.
        - use devm_add_action... to simplify error path handling.
      * exynos
        - drop stray semicolon.
        - use devm_platform_ioremap_resource to reduce boilerplate.
      * hx711
        - various tricks to improve the frequency of read out possible.
      * max1027
        - debugfs support.
        - make interrupts optional.
        - reset at probe to get clean state.
        - refactors to allow addition of new device support.
      * maxim thermocouple
        - drop an unneeded semicolon.
      * mb1232
        - yaml binding conversion.
      * mcp320x
        - tidy up an endian types in cast warning.
      * meson_saradc
        - use devm_platform_ioremap_resource to reduce boilerplate.
      * mpu3050
        - make a poison value explicity big endian to supress a warning.
      * pulsedlight v2
        - endian type tidy ups.
      * sgp30
        - drop an excess semicolon.
      * sps30
        - make truncation explicit with masking to clean up a warning.
      * st sensors
        - drop gpio include as none of these support gpios.
      * st_lsm6dsx
        - tidy up some alignment issues.
        - refactors to allow addition of new device support.
          * allow varients of irq related reg definitions.
          * avoid accessing active-low, open-drain regs if not provided.
          * allow varients of bdu/boot and reset regs.
          * allow for enabling or disabling wakeup sources through platform
            data (seems someone still uses this).
        - enable wake-up events for LSM6DS0
        - use the drdy mask to avoid some invalid samples during initial start
          of sensor.
        - Add support to trim the timestamp.
      * stm32_adc
        - kernel-doc fixes.
      * stm32_dac
        - power management support.
      * stmpe-adc
        - Fix endian type of local variable.
      * twl4030
        - use false / true instead of 0 / 1 for booleans.
      * xilinx-xadc
        - use devm_platform_ioremap_resouce to reduce boilerplate.
      * zpa2326
        - reorganise buffer handling setup to be more consistent.
      
      Fixes (mostly recent additions)
      * cpcap-adc
        - Fix mising IRQF_ONESHOT that would cause warnings to be printed.
      * st_lsm6dsx
        - Sanity check the read_fifo pointer is set.
        - use locked read and update functions to prevent some races.
        - avoid accessing enable_reg if not provided.
        - take a lock to prevent a race in updating the config.
        - kernel-doc fixes.
        - document wakeup-source property in dt binding.
        - fix lsm9ds1 gyro gain definitions.
      
      * tag 'iio-for-5.5b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (73 commits)
        dt-bindings: iio: imu: st_lsm6dsx: add lsm6dsrx device bindings
        iio: imu: st_lsm6dsx: add support to LSM6DSRX
        iio: st: Drop GPIO include
        iio: adc: hx711: optimize performance in read cycle
        iio: adc: stm32-adc: fix kernel-doc warnings
        iio: pressure: zpa2326: fix iio_triggered_buffer_postenable position
        iio: chemical: sgp30: drop excess semicolon
        iio: adc: twl4030: Use false / true instead of 0 / 1 with booleans
        dt-bindings: iio: Add ltc2983 documentation
        iio: temperature: Add support for LTC2983
        iio: pressure: bmp280: use devm action and remove labels from probe
        iio: pressure: bmp280: use bulk regulator ops
        iio: imu: Add support for the FXOS8700 IMU
        dt-bindings: iio: imu: add fxos8700 imu binding
        staging: iio: ad9834: add a check for devm_clk_get
        iio: adc: xilinx-xadc: use devm_platform_ioremap_resource
        iio: temp: maxim thermocouple: Drop unneeded semi colon.
        iio: adc: cpcap-adc: Fix missing IRQF_ONESHOT as only threaded handler.
        iio: adc: meson_saradc: use devm_platform_ioremap_resource
        iio: adc: exynos: use devm_platform_ioremap_resource
        ...
      ebc8f4f6
  3. 30 Oct, 2019 13 commits
  4. 29 Oct, 2019 5 commits
  5. 28 Oct, 2019 7 commits
  6. 27 Oct, 2019 7 commits