1. 08 Mar, 2019 34 commits
  2. 07 Mar, 2019 3 commits
    • Linus Torvalds's avatar
      Merge tag 'usb-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · f90d6448
      Linus Torvalds authored
      Pull USB/PHY updates from Greg KH:
       "Here is the big USB/PHY driver pull request for 5.1-rc1.
      
        The usual set of gadget driver updates, phy driver updates, xhci
        updates, and typec additions. Also included in here are a lot of small
        cleanups and fixes and driver updates where needed.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (167 commits)
        wusb: Remove unnecessary static function ckhdid_printf
        usb: core: make default autosuspend delay configurable
        usb: core: Fix typo in description of "authorized_default"
        usb: chipidea: Refactor USB PHY selection and keep a single PHY
        usb: chipidea: Grab the (legacy) USB PHY by phandle first
        usb: chipidea: imx: set power polarity
        dt-bindings: usb: ci-hdrc-usb2: add property power-active-high
        usb: chipidea: imx: remove unused header files
        usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
        usb: core: add option of only authorizing internal devices
        usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
        usb: xhci: Fix for Enabling USB ROLE SWITCH QUIRK on INTEL_SUNRISEPOINT_LP_XHCI
        usb: xhci: fix build warning - missing prototype
        usb: xhci: dbc: Fixing typo error.
        usb: xhci: remove unused member 'parent' in xhci_regset struct
        xhci: tegra: Prevent error pointer dereference
        USB: serial: option: add Telit ME910 ECM composition
        usb: core: Replace hardcoded check with inline function from usb.h
        usb: core: skip interfaces disabled in devicetree
        usb: typec: mux: remove redundant check on variable match
        ...
      f90d6448
    • Linus Torvalds's avatar
      Merge tag 'tty-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 67e79a6d
      Linus Torvalds authored
      Pull tty/serial updates from Greg KH:
       "Here is the "big" patchset for the tty/serial driver layer for
        5.1-rc1.
      
        It's really not all that big, nothing major here.
      
        There are a lot of tiny driver fixes and updates, combined with other
        cleanups for different serial drivers and the vt layer. Full details
        are in the shortlog.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'tty-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (70 commits)
        tty: xilinx_uartps: Correct return value in probe
        serial: sprd: Modify the baud rate calculation formula
        dt-bindings: serial: Add Milbeaut serial driver description
        serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
        serial: 8250_pxa: honor the port number from devicetree
        tty: hvc_xen: Mark expected switch fall-through
        tty: n_gsm: Mark expected switch fall-throughs
        tty: serial: msm_serial: Remove __init from msm_console_setup()
        tty: serial: samsung: Enable baud clock during initialisation
        serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
        tty: serial: remove redundant likely annotation
        tty/n_hdlc: mark expected switch fall-through
        serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
        serial: 8250_pci: Fix number of ports for ACCES serial cards
        vt: perform safe console erase in the right order
        tty/nozomi: use pci_iomap instead of ioremap_nocache
        tty/synclink: remove ISA support
        serial: 8250_pci: Replace custom code with pci_match_id()
        serial: max310x: Correction of the initial setting of the MODE1 bits for various supported ICs.
        serial: mps2-uart: Add parentheses around conditional in mps2_uart_shutdown
        ...
      67e79a6d
    • Linus Torvalds's avatar
      Merge tag 'staging-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · e266ca36
      Linus Torvalds authored
      Pull staging/IIO updates from Greg KH:
       "Here is the big staging/iio driver pull request for 5.1-rc1.
      
        Lots of good IIO driver updates and cleanups in here as always.
        Combined with the removal of the xgifb driver, we have a net "loss" of
        over 9000 lines in the pull request, always a nice thing.
      
        As the outreachy application process is currently happening, there are
        loads of tiny checkpatch cleanup fixes all over the staging tree,
        which accounts for the majority of the fixups"
      
      * tag 'staging-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (341 commits)
        staging: mt7621-dma: remove license boilerplate text
        staging: mt7621-dma: add SPDX GPL-2.0+ license identifier
        Staging: ks7010: Replace typecast to int
        Staging: vt6655: Align a static function declaration
        staging: speakup: fix line over 80 characters.
        staging: mt7621-eth: Remove license boilerplate text
        staging: mt7621-eth: Add SPDX license identifier
        staging: ks7010: removed custom Michael MIC implementation.
        staging: rtl8192e: Fix space and suspect issue
        Staging: vt6655: Modify comment style of SPDX License Identifier
        Staging: vt6655: Modify comment style for SPDX-License-Identifier
        Staging: vt6655: Align a function declaration
        Staging: vt6655: Alignment of function declaration
        staging: rtl8712: Fix indentation issue
        staging: wilc1000: fix incorrent type in initializer
        staging: rtl8188eu: remove unused P2P_PRIVATE_IOCTL_SET_LEN
        staging: rtl8188eu: remove unused enum P2P_PROTO_WK_ID
        staging: rtl8723bs: Remove duplicated include from drv_types.h
        Staging: vt6655: Alignment should match open parenthesis
        staging: erofs: fix mis-acted TAIL merging behavior
        ...
      e266ca36
  3. 06 Mar, 2019 3 commits
    • Linus Torvalds's avatar
      iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver · e0f0ae83
      Linus Torvalds authored
      The pm8xxx_get_channel() implementation is unclear, and causes gcc to
      suddenly generate odd warnings.  The trigger for the warning (at least
      for me) was the entirely unrelated commit 79a4e91d ("device.h: Add
      __cold to dev_<level> logging functions"), which apparently changes gcc
      code generation in the caller function enough to cause this:
      
        drivers/iio/adc/qcom-pm8xxx-xoadc.c: In function ‘pm8xxx_xoadc_probe’:
        drivers/iio/adc/qcom-pm8xxx-xoadc.c:633:8: warning: ‘ch’ may be used uninitialized in this function [-Wmaybe-uninitialized]
          ret = pm8xxx_read_channel_rsv(adc, ch, AMUX_RSV4,
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   &read_nomux_rsv4, true);
                   ~~~~~~~~~~~~~~~~~~~~~~~
        drivers/iio/adc/qcom-pm8xxx-xoadc.c:426:27: note: ‘ch’ was declared here
          struct pm8xxx_chan_info *ch;
                                   ^~
      
      because gcc for some reason then isn't able to see that the termination
      condition for the "for( )" loop in that function is also the condition
      for returning NULL.
      
      So it's not _actually_ uninitialized, but the function is admittedly
      just unnecessarily oddly written.
      
      Simplify and clarify the function, making gcc also see that it always
      returns a valid initialized value.
      
      Cc: Joe Perches <joe@perches.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Andy Gross <andy.gross@linaro.org>
      Cc: David Brown <david.brown@linaro.org>
      Cc: Jonathan Cameron <jic23@kernel.org>
      Cc: Hartmut Knaack <knaack.h@gmx.de>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e0f0ae83
    • Linus Torvalds's avatar
      Merge tag 'driver-core-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · e431f2d7
      Linus Torvalds authored
      Pull driver core updates from Greg KH:
       "Here is the big driver core patchset for 5.1-rc1
      
        More patches than "normal" here this merge window, due to some work in
        the driver core by Alexander Duyck to rework the async probe
        functionality to work better for a number of devices, and independant
        work from Rafael for the device link functionality to make it work
        "correctly".
      
        Also in here is:
      
         - lots of BUS_ATTR() removals, the macro is about to go away
      
         - firmware test fixups
      
         - ihex fixups and simplification
      
         - component additions (also includes i915 patches)
      
         - lots of minor coding style fixups and cleanups.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'driver-core-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (65 commits)
        driver core: platform: remove misleading err_alloc label
        platform: set of_node in platform_device_register_full()
        firmware: hardcode the debug message for -ENOENT
        driver core: Add missing description of new struct device_link field
        driver core: Fix PM-runtime for links added during consumer probe
        drivers/component: kerneldoc polish
        async: Add cmdline option to specify drivers to be async probed
        driver core: Fix possible supplier PM-usage counter imbalance
        PM-runtime: Fix __pm_runtime_set_status() race with runtime resume
        driver: platform: Support parsing GpioInt 0 in platform_get_irq()
        selftests: firmware: fix verify_reqs() return value
        Revert "selftests: firmware: remove use of non-standard diff -Z option"
        Revert "selftests: firmware: add CONFIG_FW_LOADER_USER_HELPER_FALLBACK to config"
        device: Fix comment for driver_data in struct device
        kernfs: Allocating memory for kernfs_iattrs with kmem_cache.
        sysfs: remove unused include of kernfs-internal.h
        driver core: Postpone DMA tear-down until after devres release
        driver core: Document limitation related to DL_FLAG_RPM_ACTIVE
        PM-runtime: Take suppliers into account in __pm_runtime_set_status()
        device.h: Add __cold to dev_<level> logging functions
        ...
      e431f2d7
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 45763bf4
      Linus Torvalds authored
      Pull char/misc driver updates from Greg KH:
       "Here is the big char/misc driver patch pull request for 5.1-rc1.
      
        The largest thing by far is the new habanalabs driver for their AI
        accelerator chip. For now it is in the drivers/misc directory but will
        probably move to a new directory soon along with other drivers of this
        type.
      
        Other than that, just the usual set of individual driver updates and
        fixes. There's an "odd" merge in here from the DRM tree that they
        asked me to do as the MEI driver is starting to interact with the i915
        driver, and it needed some coordination. All of those patches have
        been properly acked by the relevant subsystem maintainers.
      
        All of these have been in linux-next with no reported issues, most for
        quite some time"
      
      * tag 'char-misc-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (219 commits)
        habanalabs: adjust Kconfig to fix build errors
        habanalabs: use %px instead of %p in error print
        habanalabs: use do_div for 64-bit divisions
        intel_th: gth: Fix an off-by-one in output unassigning
        habanalabs: fix little-endian<->cpu conversion warnings
        habanalabs: use NULL to initialize array of pointers
        habanalabs: fix little-endian<->cpu conversion warnings
        habanalabs: soft-reset device if context-switch fails
        habanalabs: print pointer using %p
        habanalabs: fix memory leak with CBs with unaligned size
        habanalabs: return correct error code on MMU mapping failure
        habanalabs: add comments in uapi/misc/habanalabs.h
        habanalabs: extend QMAN0 job timeout
        habanalabs: set DMA0 completion to SOB 1007
        habanalabs: fix validation of WREG32 to DMA completion
        habanalabs: fix mmu cache registers init
        habanalabs: disable CPU access on timeouts
        habanalabs: add MMU DRAM default page mapping
        habanalabs: Dissociate RAZWI info from event types
        misc/habanalabs: adjust Kconfig to fix build errors
        ...
      45763bf4