1. 08 Mar, 2019 36 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 1 commit
    • 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