1. Jul 28, 2017
    • Simon Sandström's avatar
      staging: ccree: Fix alignment issues in ssi_hash.c · 3151c1df
      Simon Sandström authored
      
      
      Fixes checkpatch.pl alignment warnings.
      
      Signed-off-by: default avatarSimon Sandström <simon@nikanor.nu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3151c1df
    • Simon Sandström's avatar
      staging: ccree: Fix alignment issues in ssi_aead.c · bb1b78c3
      Simon Sandström authored
      
      
      Fixes checkpatch.pl alignment warnings.
      
      Signed-off-by: default avatarSimon Sandström <simon@nikanor.nu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      bb1b78c3
    • Armin Schoenlieb's avatar
      Staging: rtl8188eu: core: fix brace coding style issue in rtw_mlme_ext.c · c6117298
      Armin Schoenlieb authored
      
      
      This is a patch to the rtw_mlme_ext.c file that fixes up a brace error
      found by the checkpatch.pl tool
      
      Signed-off-by: default avatarArmin Schoenlieb <armetallica@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c6117298
    • Colin Ian King's avatar
      staging: rtl8192u: fix spelling mistake: "Senondary" -> "Secondary" · 00074ad3
      Colin Ian King authored
      
      
      Trivial fix to spelling mistake in IEEE80211_DEBUG message
      
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      00074ad3
    • Colin Ian King's avatar
      staging: rtl8192u: fix incorrect mask and shift on u8 data · d8acde4d
      Colin Ian King authored
      
      
      The cfg_action bit comes from the high bit of pmsg[4] so the
      current mask and shift are in correct and always result in
      zero.  Fix this by using the correct mask and shif to get the
      correct cfg_action bit value.
      
      Detected by CoverityScan, CID#142890 ("Operands don't affect result")
      
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d8acde4d
    • Munir Contractor's avatar
      staging: rtl8188eu: Move { after function to new line · ce2b0f56
      Munir Contractor authored
      
      
      Fix an error detected by checkpatch.pl on line 75 and move the opening
      brace after the function signature to a new line.
      
      Signed-off-by: default avatarMunir Contractor <munircontractor@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ce2b0f56
    • Deb McLemore's avatar
      staging: greybus: Fix coding style issue for column width · 03b7b689
      Deb McLemore authored
      
      
      checkpatch.pl line over 80 characters so fix the formatting
      for coding style compliance.
      
      Signed-off-by: default avatarDeb McLemore <debmc@linux.vnet.ibm.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      03b7b689
    • Amitoj Kaur Chawla's avatar
      staging: greybus: Remove unnecessary platform_set_drvdata · 100330ec
      Amitoj Kaur Chawla authored
      
      
      Unnecessary platform_set_drvdata() has been removed since the driver
      core clears the driver data to NULL after device release or on
      probe failure. There is no need to manually clear the device
      driver data to NULL.
      
      The Coccinelle semantic patch used to make this change is as follows:
      //<smpl>
      @@
      struct platform_device *pdev;
      @@
      - platform_set_drvdata(pdev, NULL);
      //</smpl>
      
      Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      100330ec
    • Diwakar Sharma's avatar
      staging: greybus: fix parenthesis alignments · 0c85ae28
      Diwakar Sharma authored
      
      
      Parenthesis alignment issues reported by checkpatch,
      fixed here.
      
      Signed-off-by: default avatarDiwakar Sharma <sharmalxmail@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0c85ae28
    • Arvind Yadav's avatar
      staging: unisys: visorbus: Constify attribute_group structures. · 1722270b
      Arvind Yadav authored
      
      
      attribute_group are not supposed to change at runtime. All functions
      working with attribute_group provided by <linux/sysfs.h> work
      with const attribute_group. So mark the non-const structs as const.
      
      Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1722270b
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-4.14a' of... · 98c2f10d
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-4.14a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      First round of IIO new device support, features and cleanups for the 4.14 cycle.
      
      4 completely new drivers in this set and plenty of other stuff.
      
      One ABI change due to a silly mistake a long time back. Hopefully no
      one will notice.  It effects the numerical order of consumer device
      channels which was the reverse of the obvious.  It's going the slow
      way to allow us some margin to spot if we have broken userspace or
      not (seems unlikely)
      
      New Device Support
      * ccs811
        - new driver for the Volatile Organic Compounds (VOC) sensor.
      * dln2 adc
        - new driver for the ADC on this flexible usb board.
      * EP93xx
        - new driver for this Cirrus logic SoC ADC.
      * ltc2471
        - new ADC driver support the ltc2471 and ltc2473
      * st_accel
        - add trivial table entries to support H3LIS331DL, LIS331DL, LIS3LV02DL.
      * st_gyro
        - add L3GD20H support (again) having fixed the various things that were
          broken in the first try.  Includes devicetree binding.
      * stm32 dac
        - add support for the DACs in the STM32F4 series
      
      Features
      * Documentation
        - add missing power attribute documentation to the ABI docs.
      * at91-sama5d2
        - add hardware trigger and buffered capture support with bindings.
        - suspend and resume functionality.
      * bmc150
        - support for the BOSC0200 ACPI device id seen on some tablets.
      * hdc100x
        - devicetree bindings
        - document supported devices
        - match table and device ids.
      * hts221
        - support active low interrupts (with bindings)
        - open drain mode with bindings.
      * htu21
        - OF match table and bindings.
      * lsm6dsx
        - open drain mode with bindings
      * ltc2497
        - add support for board file based consumer mapping.
      * ms5367
        - OF match table and bindings.
      * mt7622
        - binding document and OF match table.
        - suspend and resume support.
      * rpr0521
        - triggered buffer support.
      * tsys01
        - OF match table and bindings.
      
      Cleanups and minor fixes
      * core
        - fix ordering of IIO channels to entry numbers when using
          iio_map_array_register rather than reversing them.
        - use the new %pOF format specifier rather than full name for the
          device tree nodes.
      * ad7280a
        - fix potential issue with macro argument reuse.
      * ad7766
        - drop a pointless NULL value check as it's done in the gpiod code.
      * adis16400
        - unsigned -> unsigned int.
      * at91 adc
        - make some init data static to reduce code size.
      * at91-sama5d2 ADC
        - make some init data static to reduce code size.
      * da311
        - make some init data static to reduce code size.
      * hid-sensor-rotation
        - drop an unnecessary static.
      * hts221
        - refactor the write_with_mask code.
        - move the BDU configuration to probe time as there is no reason for it
          to change.
        - avoid overwriting reserved data during power-down.  This is a fix, but
          the infrastructure need was too invasive to send it to mainline except
          in a merge window.  It's not a regression as it was always wrong.
        - avoid reconfigure the sampling frequency multiple times by just
          doing it in the write_raw function directly.
        - refactor the power_on/off calls into a set_enable.
        - move the dry-enable logic into trig_set_state as that is the only
          place it was used.
      * ina219
        - fix polling of ina226 conversion ready flag.
      * imx7d
        - add vendor name in kconfig for consistency with similar parts.
      * mcp3422
        - Change initial channel to 0 as it feels more logical.
        - Check for some errors in probe.
      * meson-saradc
        - add a check of of_match_device return value.
      * mpu3050
        - allow open drain for any interrupt type.
      * rockchip adc
        - add check on of_match_device return value.
      * sca3000
        - drop a trailing whitespace.
      * stm32 adc
        - make array stm32h7_adc_ckmodes_spec static.
      * stm32 dac
        - fix an error message.
      * stm32 timers
        - fix clock name in docs to match reality after changes.
      * st_accel
        - explicit OF table (spi).
        - add missing entries to OF table (i2c).
        - rename of_device_id table to drop the part name.
        - adding missing lis3l02dq entry to bindings.
        - rename H3LIS331DL_DRIVER_NAME to line up with similar entries in driver.
      * st_gyro
        - explicit OF table (spi).
      * st_magn
        - explicit OF table (spi).
        - enable multiread for lis3mdl.
      * st_pressure
        - explicit OF table (spi).
      * st_sensors common.
        - move st_sensors_of_i2c_probe and rename to make it available for spi
        drivers.
      * tsc3472
        - don't write an extra byte when writing the ATIME register.
        - add a link to the datasheet.
      * tsl2x7x - continued staging cleanups
        - add of_match_table.
        - drop redundant power_state sysfs attribute.
        - drop wrapper tsl2x7x_i2c_read.
        - clean up i2c calls made in tsl2x7x_als_calibrate.
        - refactor the read and write _event_value callbacks to handle additional
          elements.
        - use usleep_range instead of mdelay.
        - check return value from tsl2x7x_invoke_change.
      * zpa2326
        - add some newline to the end of logging macros.
      98c2f10d
  2. Jul 26, 2017
  3. Jul 24, 2017
  4. Jul 23, 2017
  5. Jul 22, 2017
    • Linus Torvalds's avatar
      Merge tag 'char-misc-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · dedaff2f
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char and misc driver fixes for 4.13-rc2. All fix
        reported problems with 4.13-rc1 or older kernels (like the binder
        fixes). Full details in the shortlog.
      
        All have been in linux-next with no reported issues"
      
      * tag 'char-misc-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        w1: omap-hdq: fix error return code in omap_hdq_probe()
        regmap: regmap-w1: Fix build troubles
        w1: Fix slave count on 1-Wire bus (resend)
        mux: mux-core: unregister mux_class in mux_exit()
        mux: remove the Kconfig question for the subsystem
        nvmem: rockchip-efuse: amend compatible rk322x-efuse to rk3228-efuse
        drivers/fsi: fix fsi_slave_mode prototype
        fsi: core: register with postcore_initcall
        thunderbolt: Correct access permissions for active NVM contents
        vmbus: re-enable channel tasklet
        spmi: pmic-arb: Always allocate ppid_to_apid table
        MAINTAINERS: Add entry for SPMI subsystem
        spmi: Include OF based modalias in device uevent
        binder: Use wake up hint for synchronous transactions.
        binder: use group leader instead of open thread
        Revert "android: binder: Sanity check at binder ioctl"
      dedaff2f
    • Linus Torvalds's avatar
      Merge tag 'usb-4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 55fd939e
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small USB fixes for 4.13-rc2.
      
        The usual batch, gadget fixes for reported issues, as well as xhci
        fixes, and a small random collection of other fixes for reported
        issues.
      
        All have been in linux-next with no reported issues"
      
      * tag 'usb-4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (25 commits)
        xhci: fix memleak in xhci_run()
        usb: xhci: fix spinlock recursion for USB2 test mode
        xhci: fix 20000ms port resume timeout
        usb: xhci: Issue stop EP command only when the EP state is running
        xhci: Bad Ethernet performance plugged in ASM1042A host
        xhci: Fix NULL pointer dereference when cleaning up streams for removed host
        usb: renesas_usbhs: gadget: disable all eps when the driver stops
        usb: renesas_usbhs: fix usbhsc_resume() for !USBHSF_RUNTIME_PWCTRL
        usb: gadget: udc: renesas_usb3: protect usb3_ep->started in usb3_start_pipen()
        usb: gadget: udc: renesas_usb3: fix zlp transfer by the dmac
        usb: gadget: udc: renesas_usb3: fix free size in renesas_usb3_dma_free_prd()
        usb: gadget: f_uac2: endianness fixes.
        usb: gadget: f_uac1: endianness fixes.
        include: usb: audio: specify exact endiannes of descriptors
        usb: gadget: udc: start_udc() can be static
        usb: dwc2: gadget: On USB RESET reset device address to zero
        usb: storage: return on error to avoid a null pointer dereference
        usb: typec: include linux/device.h in ucsi.h
        USB: cdc-acm: add device-id for quirky printer
        usb: dwc3: gadget: only unmap requests from DMA if mapped
        ...
      55fd939e
    • Linus Torvalds's avatar
      Merge tag 'staging-4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · bcb53e57
      Linus Torvalds authored
      Pull staging driver fixes from Greg KH:
       "Here are some small staging driver fixes for reported issues for
        4.13-rc2.
      
        Also in here is a new driver, the virtualbox DRM driver. It's
        stand-alone and got acks from the DRM developers to go in through this
        tree. It's a new thing, but it should be fine for this point in the rc
        cycle due to it being independent.
      
        All of this has been in linux-next for a while with no reported
        issues"
      
      * tag 'staging-4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
        staging: rtl8188eu: add TL-WN722N v2 support
        staging: speakup: safely register and unregister ldisc
        staging: speakup: add functions to register and unregister ldisc
        staging: speakup: safely close tty
        staging: sm750fb: avoid conflicting vesafb
        staging: lustre: ko2iblnd: check copy_from_iter/copy_to_iter return code
        staging: vboxvideo: Add vboxvideo to drivers/staging
        staging: sm750fb: fixed a assignment typo
        staging: rtl8188eu: memory leak in rtw_free_cmd_obj()
        staging: vchiq_arm: fix error codes in probe
        staging: comedi: ni_mio_common: fix AO timer off-by-one regression
      bcb53e57
    • Randy Dunlap's avatar
      MAINTAINERS: fix alphabetical ordering · 82abbea7
      Randy Dunlap authored
      
      
      Fix major alphabetic errors.  No attempt to fix items that all begin
      with the same word (like ARM, BROADCOM, DRM, EDAC, FREESCALE, INTEL,
      OMAP, PCI, SAMSUNG, TI, USB, etc.).
      
      (diffstat +/- is different by one line because TI KEYSTONE MULTICORE
      had 2 blank lines after it.)
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      82abbea7