1. 08 Mar, 2019 33 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 4 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
    • Linus Torvalds's avatar
      Merge tag 'sound-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · da2577fe
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "We had again a busy development cycle with many new drivers as well as
        lots of core improvements / cleanups. Let's go for highlights:
      
        ALSA core:
      
         - PCM locking scheme was refactored for reducing a global rwlock
      
         - PCM suspend is handled in the device type PM ops now; lots of
           explicit calls were reduced by this action
      
         - Cleanups about PCM buffer preallocation calls
      
         - Kill NULL device object in memory allocations
      
         - Lots of procfs API cleanups
      
        ASoC core:
      
         - Support for only powering up channels that are actively being used
      
         - Cleanups / fixes of topology API
      
        ASoC drivers:
      
         - MediaTek BTCVSD for a Bluetooth radio chip, which is the first such
           driver we've had upstream!
      
         - Quite a few improvements to simplify the generic card drivers,
           especially the merge of the SCU cards into the main generic drivers
      
         - Lots of fixes for probing on Intel systems to follow more standard
           styles
      
         - A big refresh and cleanup of the Samsung drivers
      
         - New drivers: Asahi Kasei Microdevices AK4497, Cirrus Logic CS4341
           and CS35L26, Google ChromeOS embedded controllers, Ingenic JZ4725B,
           MediaTek BTCVSD, MT8183 and MT6358, NXP MICFIL, Rockchip RK3328,
           Spreadtrum DMA controllers, Qualcomm WCD9335, Xilinx S/PDIF and PCM
           formatters
      
        ALSA drivers:
      
         - Improvements of Tegra HD-audio controller driver for supporting new
           chips
      
         - HD-audio codec quirks for ALC294 S4 resume, ASUS laptop, Chrome
           headset button support and Dell workstations
      
         - Improved DSD support on USB-audio
      
         - Quirk for MOTU MicroBook II USB-audio
      
         - Support for Fireface UCX support and Solid State Logic Duende
           Classic/Mini"
      
      * tag 'sound-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (461 commits)
        ALSA: usb-audio: Add quirk for MOTU MicroBook II
        ASoC: stm32: i2s: skip useless write in slave mode
        ASoC: stm32: i2s: fix race condition in irq handler
        ASoC: stm32: i2s: remove useless callback
        ASoC: stm32: i2s: fix dma configuration
        ASoC: stm32: i2s: fix stream count management
        ASoC: stm32: i2s: fix 16 bit format support
        ASoC: stm32: i2s: fix IRQ clearing
        ASoC: qcom: Kconfig: fix dependency for sdm845
        ASoC: Intel: Boards: Add Maxim98373 support
        ASoC: rsnd: gen: fix SSI9 4/5/6/7 busif related register address
        ALSA: firewire-motu: fix construction of PCM frame for capture direction
        ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56
        ALSA: hda: Extend i915 component bind timeout
        ASoC: wm_adsp: Improve logging messages
        ASoC: wm_adsp: Add support for multiple compressed buffers
        ASoC: wm_adsp: Refactor compress stream initialisation
        ASoC: wm_adsp: Reorder some functions for improved clarity
        ASoC: wm_adsp: Factor out stripping padding from ADSP data
        ASoC: cs35l36: Fix an IS_ERR() vs NULL checking bug
        ...
      da2577fe