24 May, 2019

5 commits

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    675 mass ave cambridge ma 02139 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 441 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Michael Ellerman (powerpc)
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190520071858.739733335@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this driver is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 5 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190520170858.461662648@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa the full gnu
    general public license is included in this distribution in the file
    called copying

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 7 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Michael Ellerman (powerpc)
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190520170857.277062491@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this driver is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this driver is distributed in the hope
    that it will be useful but without any warranty without even the
    implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 18 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190520170857.186505395@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program see the file copying if not write to the free
    software foundation inc 59 temple place suite 330 boston ma 02111
    1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 5 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190520170856.913346514@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 May, 2019

7 commits

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not see http www gnu org licenses

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details [based]
    [from] [clk] [highbank] [c] you should have received a copy of the
    gnu general public license along with this program if not see http
    www gnu org licenses

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 355 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Kate Stewart
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Steve Winslow
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190519154041.837383322@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    licensed under gplv2 or later

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 118 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Steve Winslow
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190519154040.961286471@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 or
    later as published by the free software foundation

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 9 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Steve Winslow
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190519154040.848507137@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    51 franklin street fifth floor boston ma 02110 1301 usa

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option [no]_[pad]_[ctrl] any later version this program is
    distributed in the hope that it will be useful but without any
    warranty without even the implied warranty of merchantability or
    fitness for a particular purpose see the gnu general public license
    for more details you should have received a copy of the gnu general
    public license along with this program if not write to the free
    software foundation inc 51 franklin street fifth floor boston ma
    02110 1301 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 176 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Steve Winslow
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190519154040.652910950@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Add SPDX license identifiers to all Make/Kconfig files which:

    - Have no license information of any form

    These files fall under the project license, GPL v2 only. The resulting SPDX
    license identifier is:

    GPL-2.0-only

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Add SPDX license identifiers to all files which:

    - Have no license information of any form

    - Have MODULE_LICENCE("GPL*") inside which was used in the initial
    scan/conversion to ignore the file

    These files fall under the project license, GPL v2 only. The resulting SPDX
    license identifier is:

    GPL-2.0-only

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     
  • Add SPDX license identifiers to all files which:

    - Have no license information of any form

    - Have EXPORT_.*_SYMBOL_GPL inside which was used in the
    initial scan/conversion to ignore the file

    These files fall under the project license, GPL v2 only. The resulting SPDX
    license identifier is:

    GPL-2.0-only

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

18 May, 2019

1 commit

  • Pull sound fixes from Takashi Iwai:
    "Just a few HD-audio fixes, most of which are specific to Realtek
    codecs"

    * tag 'sound-fix-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
    ALSA: hda: Fix race between creating and refreshing sysfs entries
    ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
    ALSA: hda/realtek - Avoid superfluous COEF EAPD setups
    ALSA: hda/realtek - Fixup headphone noise via runtime suspend

    Linus Torvalds
     

17 May, 2019

1 commit


16 May, 2019

3 commits

  • Pull ARM SoC platform updates from Olof Johansson:
    "SoC updates, mostly refactorings and cleanups of old legacy platforms.

    Major themes this release:

    - Conversion of ixp4xx to a modern platform (drivers, DT, bindings)

    - Moving some of the ep93xx headers around to get it closer to
    multiplatform enabled.

    - Cleanups of Davinci

    This also contains a few patches that were queued up as fixes before
    5.1 but I didn't get sent in before release"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (123 commits)
    ARM: debug-ll: add default address for digicolor
    ARM: u300: regulator: add MODULE_LICENSE()
    ARM: ep93xx: move private headers out of mach/*
    ARM: ep93xx: move pinctrl interfaces into include/linux/soc
    ARM: ep93xx: keypad: stop using mach/platform.h
    ARM: ep93xx: move network platform data to separate header
    ARM: stm32: add AMBA support for stm32 family
    MAINTAINERS: update arch/arm/mach-davinci
    ARM: rockchip: add missing of_node_put in rockchip_smp_prepare_pmu
    ARM: dts: Add queue manager and NPE to the IXP4xx DTSI
    soc: ixp4xx: qmgr: Add DT probe code
    soc: ixp4xx: qmgr: Add DT bindings for IXP4xx qmgr
    soc: ixp4xx: npe: Add DT probe code
    soc: ixp4xx: Add DT bindings for IXP4xx NPE
    soc: ixp4xx: qmgr: Pass resources
    soc: ixp4xx: Remove unused functions
    soc: ixp4xx: Uninline several functions
    soc: ixp4xx: npe: Pass addresses as resources
    ARM: ixp4xx: Turn the QMGR into a platform device
    ARM: ixp4xx: Turn the NPE into a platform device
    ...

    Linus Torvalds
     
  • Merge in a few pending fixes from pre-5.1 that didn't get sent in:

    MAINTAINERS: update arch/arm/mach-davinci
    ARM: dts: ls1021: Fix SGMII PCS link remaining down after PHY disconnect
    ARM: dts: imx6q-logicpd: Reduce inrush current on USBH1
    ARM: dts: imx6q-logicpd: Reduce inrush current on start
    ARM: dts: imx: Fix the AR803X phy-mode
    ARM: dts: sun8i: a33: Reintroduce default pinctrl muxing
    arm64: dts: allwinner: a64: Rename hpvcc-supply to cpvdd-supply
    ARM: sunxi: fix a leaked reference by adding missing of_node_put
    ARM: sunxi: fix a leaked reference by adding missing of_node_put

    Signed-off-by: Olof Johansson

    Olof Johansson
     
  • Now that we've gotten rid of clk_readl() we can remove io.h from the
    clk-provider header and push out the io.h include to any code that isn't
    already including the io.h header but using things like readl/writel,
    etc.

    Found with this grep:

    git grep -l clk-provider.h | grep '.c$' | xargs git grep -L 'linux/io.h' | \
    xargs git grep -l \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\'

    I also reordered a couple includes when they weren't alphabetical and
    removed clk.h from kona, replacing it with clk-provider.h because
    that driver doesn't use clk consumer APIs.

    Acked-by: Geert Uytterhoeven
    Cc: Chen-Yu Tsai
    Acked-by: Maxime Ripard
    Acked-by: Tero Kristo
    Acked-by: Sekhar Nori
    Cc: Krzysztof Kozlowski
    Acked-by: Mark Brown
    Cc: Chris Zankel
    Acked-by: Max Filippov
    Acked-by: John Crispin
    Acked-by: Heiko Stuebner
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

14 May, 2019

1 commit

  • Add patch for realtek codec in Lenovo B50-70 that fixes inverted
    internal microphone channel.
    Device IdeaPad Y410P has the same PCI SSID as Lenovo B50-70,
    but first one is about fix the noise and it didn't seem help in a
    later kernel version.
    So I replaced IdeaPad Y410P device description with B50-70 and apply
    inverted microphone fix.

    Bugzilla: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1524215
    Signed-off-by: Michał Wadowski
    Cc:
    Signed-off-by: Takashi Iwai

    Michał Wadowski
     

13 May, 2019

1 commit


10 May, 2019

3 commits

  • A mistake was made in the identification of the four variants of the
    System76 Gazelle (gaze14). This patch corrects the PCI ID of the
    17-inch, GTX 1660 Ti variant from 0x8560 to 0x8551. This patch also
    adds the correct fixups for the 15-inch and 17-inch GTX 1650 variants
    with PCI IDs 0x8560 and 0x8561.

    Tests were done on all four variants ensuring full audio capability.

    Fixes: 80a5052db751 ("ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)")
    Signed-off-by: Jeremy Soller
    Cc:
    Signed-off-by: Takashi Iwai

    Jeremy Soller
     
  • Realtek codec driver applied the COEF setups to change the EAPD
    control to the default mode (i.e. control by EPAD verbs) at the init
    callback. It works, but this is too excessive at the same time, since
    it's called at each runtime PM resume. That is, the initialization
    should be done only once after the probe. One may think that moving
    this to the probe should be OK, but no -- there is a catch; when a
    system resumes from S4 (hibernation), we need to re-initialize this
    again manually, because it's out of regcache restoration.

    This patch addresses the issue by introducing alc_pre_init() function
    that performs such a task. This is called from each codec probe
    function, and it's called from the resume callback conditionally only
    from S4 resume.

    Reported-and-tested-by: Kailang Yang
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Dell platform with ALC298.
    system enter to runtime suspend. Headphone had noise.
    Let Headset Mic not shutup will solve this issue.

    [ Fixed minor coding style issues by tiwai ]

    Signed-off-by: Kailang Yang
    Cc:
    Signed-off-by: Takashi Iwai

    Kailang Yang
     

09 May, 2019

5 commits

  • Pull sound updates from Takashi Iwai:
    "The most significant changes at this cycle are the Sound Open Firmware
    support from Intel for the common DSP framework along with its support
    for Intel platforms. It's a door opened to a real "free" firmware (in
    the sense of FOSS), and other parties show interests in it.

    In addition to SOF, we've got a bunch of updates and fixes as usual.
    Some highlights are below.

    ALSA core:
    - Cleanups and fixes in ALSA timer code to cover some races spotted
    by syzkaller
    - Cleanups and fixes in ALSA sequencer code to cover some races,
    again unsurprisingly, spotted by syzkaller
    - Optimize the common page allocation helper with alloc_pages_exact()

    ASoC:
    - Add SOF core support, as well as Intel SOF platform support
    - Generic card driver improvements: support for MCLK/sample rate
    ratio and pin switches
    - A big set of improvements to TLV320AIC32x4 drivers
    - New drivers for Freescale audio mixers, several Intel machines,
    several Mediatek machines, Meson G12A, Spreadtrum compressed audio
    and DMA devices

    HD-audio:
    - A few Realtek codec fixes for reducing pop noises
    - Quirks for Chromebooks
    - Workaround for faulty connection report on AMD/Nvidia HDMI

    Others:
    - A quirk for Focusrite Scarlett Solo USB-audio
    - Add support for MOTU 8pre FireWire
    - 24bit sample format support in aloop
    - GUS patch format support (finally, over a decade) in native emux
    synth code"

    * tag 'sound-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (375 commits)
    ASoC: SOF: Fix unused variable warnings
    ALSA: line6: toneport: Fix broken usage of timer for delayed execution
    ALSA: aica: Fix a long-time build breakage
    ALSA: hda/realtek - Support low power consumption for ALC256
    ASoC: stm32: i2s: update pcm hardware constraints
    ASoC: codec: hdac_hdmi: no checking monitor in hw_params
    ASoC: mediatek: mt6358: save PGA for mixer control
    ASoC: mediatek: mt6358: save output volume for mixer controls
    ASoC: mediatek: mt6358: initialize setting when ramping volume
    ASoC: SOF: core: fix undefined nocodec reference
    ASoC: SOF: xtensa: fix undefined references
    ASoC: SOF: Propagate sof_get_ctrl_copy_params() error properly
    ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
    ALSA: hda/intel: add CometLake PCI IDs
    ALSA: hda/realtek - Support low power consumption for ALC295
    ASoC: rockchip: Fix an uninitialized variable compile warning
    ASoC: SOF: Fix a compile warning with CONFIG_PCI=n
    ASoC: da7219: Fix a compile warning at CONFIG_COMMON_CLK=n
    ASoC: sound/soc/sof/: fix kconfig dependency warning
    ASoC: stm32: spdifrx: change trace level on iec control
    ...

    Linus Torvalds
     
  • …/sound into for-linus

    ASoC: Fixes for v5.2

    A bunch of driver specific fixes that came in since the initial pull
    request for v5.2, mainly warning fixes for the newly added Sound Open
    Firmware code which people appeared to only start looking at after I'd
    sent the pull request.

    Takashi Iwai
     
  • Pull drm updates from Dave Airlie:
    "This has two exciting community drivers for ARM Mali accelerators.
    Since ARM has never been open source friendly on the GPU side of the
    house, the community has had to create open source drivers for the
    Mali GPUs. Lima covers the older t4xx and panfrost the newer 6xx/7xx
    series. Well done to all involved and hopefully this will help ARM
    head in the right direction.

    There is also now the ability if you don't have any of the legacy
    drivers enabled (pre-KMS) to remove all the pre-KMS support code from
    the core drm, this saves 10% or so in codesize on my machine.

    i915 also enable Icelake/Elkhart Lake Gen11 GPUs by default, vboxvideo
    moves out of staging.

    There are also some rcar-du patches which crossover with media tree
    but all should be acked by Mauro.

    Summary:

    uapi changes:
    - Colorspace connector property
    - fourcc - new YUV formts
    - timeline sync objects initially merged
    - expose FB_DAMAGE_CLIPS to atomic userspace

    new drivers:
    - vboxvideo: moved out of staging
    - aspeed: ASPEED SoC BMC chip display support
    - lima: ARM Mali4xx GPU acceleration driver support
    - panfrost: ARM Mali6xx/7xx Midgard/Bitfrost acceleration driver support

    core:
    - component helper docs
    - unplugging fixes
    - devm device init
    - MIPI/DSI rate control
    - shmem backed gem objects
    - connector, display_info, edid_quirks cleanups
    - dma_buf fence chain support
    - 64-bit dma-fence seqno comparison fixes
    - move initial fb config code to core
    - gem fence array helpers for Lima
    - ability to remove legacy support code if no drivers requires it (removes 10% of drm.ko size)
    - lease fixes

    ttm:
    - unified DRM_FILE_PAGE_OFFSET handling
    - Account for kernel allocations in kernel zone only

    panel:
    - OSD070T1718-19TS panel support
    - panel-tpo-td028ttec1 backlight support
    - Ronbo RB070D30 MIPI/DSI
    - Feiyang FY07024DI26A30-D MIPI-DSI panel
    - Rocktech jh057n00900 MIPI-DSI panel

    i915:
    - Comet Lake (Gen9) PCI IDs
    - Updated Icelake PCI IDs
    - Elkhartlake (Gen11) support
    - DP MST property addtions
    - plane and watermark fixes
    - Icelake port sync and VEBOX disable fixes
    - struct_mutex usage reduction
    - Icelake gamma fix
    - GuC reset fixes
    - make mmap more asynchronous
    - sound display power well race fixes
    - DDI/MIPI-DSI clocks for Icelake
    - Icelake RPS frequency changing support
    - Icelake workarounds

    amdgpu:
    - Use HMM for userptr
    - vega20 experimental smu11 support
    - RAS support for vega20
    - BACO support for vega12 + fixes for vega20
    - reworked IH interrupt handling
    - amdkfd RAS support
    - Freesync improvements
    - initial timeline sync object support
    - DC Z ordering fixes
    - NV12 planes support
    - colorspace properties for planes=
    - eDP opts if eDP already initialized

    nouveau:
    - misc fixes

    etnaviv:
    - misc fixes

    msm:
    - GPU zap shader support expansion
    - robustness ABI addition

    exynos:
    - Logging cleanups

    tegra:
    - Shared reset fix
    - CPU cache maintenance fix

    cirrus:
    - driver rewritten using simple helpers

    meson:
    - G12A support

    vmwgfx:
    - Resource dirtying management improvements
    - Userspace logging improvements

    virtio:
    - PRIME fixes

    rockchip:
    - rk3066 hdmi support

    sun4i:
    - DSI burst mode support

    vc4:
    - load tracker to detect underflow

    v3d:
    - v3d v4.2 support

    malidp:
    - initial Mali D71 support in komeda driver

    tfp410:
    - omap related improvement

    omapdrm:
    - drm bridge/panel support
    - drop some omap specific panels

    rcar-du:
    - Display writeback support"

    * tag 'drm-next-2019-05-09' of git://anongit.freedesktop.org/drm/drm: (1507 commits)
    drm/msm/a6xx: No zap shader is not an error
    drm/cma-helper: Fix drm_gem_cma_free_object()
    drm: Fix timestamp docs for variable refresh properties.
    drm/komeda: Mark the local functions as static
    drm/komeda: Fixed warning: Function parameter or member not described
    drm/komeda: Expose bus_width to Komeda-CORE
    drm/komeda: Add sysfs attribute: core_id and config_id
    drm: add non-desktop quirk for Valve HMDs
    drm/panfrost: Show stored feature registers
    drm/panfrost: Don't scream about deferred probe
    drm/panfrost: Disable PM on probe failure
    drm/panfrost: Set DMA masks earlier
    drm/panfrost: Add sanity checks to submit IOCTL
    drm/etnaviv: initialize idle mask before querying the HW db
    drm: introduce a capability flag for syncobj timeline support
    drm: report consistent errors when checking syncobj capibility
    drm/nouveau/nouveau: forward error generated while resuming objects tree
    drm/nouveau/fb/ramgk104: fix spelling mistake "sucessfully" -> "successfully"
    drm/nouveau/i2c: Disable i2c bus access after ->fini()
    drm/nouveau: Remove duplicate ACPI_VIDEO_NOTIFY_PROBE definition
    ...

    Linus Torvalds
     
  • The recent fix for the build fix caused a couple of unused variable
    compiler warnings when CONFIG_SND_SOC_SOF_NOCODEC isn't set:
    sound/soc/sof/core.c:263:6: warning: unused variable ‘ret’ [-Wunused-variable]
    sound/soc/sof/core.c:262:28: warning: unused variable ‘machine’ [-Wunused-variable]

    Fix them by adding another ifdef.

    Fixes: ce38a75089f7 ("ASoC: SOF: core: fix undefined nocodec reference")
    Signed-off-by: Takashi Iwai
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • Pull media updates from Mauro Carvalho Chehab:

    - remove the deprecated Zoran driver from staging

    - new I2C driver: ST MIPID02 CSI-2 camera bridge

    - new platform driver: Amlogic Meson AO CEC G12A Controller

    - add support for USB audio via the media controller

    - au0828 driver is now supported via the media controller on both on
    media and on usbaudio

    - new kernel test for the media device allocator

    - add support for stateless decoder at vicodec driver

    - lots of other driver improvements fixes and cleanups

    * tag 'media/v5.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (218 commits)
    media: dt-bindings: aspeed-video: Add missing memory-region property
    media: platform: Aspeed: Make reserved memory optional
    media: platform: Aspeed: Remove use of reset line
    media: stm32-dcmi: return appropriate error codes during probe
    media: vsp1: Add support for missing 16-bit RGB555 formats
    media: vsp1: Add support for missing 16-bit RGB444 formats
    media: vsp1: Add support for missing 32-bit RGB formats
    media: v4l: Add definitions for missing 16-bit RGB555 formats
    media: v4l: Add definitions for missing 16-bit RGB4444 formats
    media: v4l: Add definitions for missing 32-bit RGB formats
    media: zoran: remove deprecated driver
    media: MAINTAINERS: Update AO CEC with ao-cec-g12a driver
    media: platform: meson: Add Amlogic Meson G12A AO CEC Controller driver
    media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible
    media: cros-ec-cec: decrement HDMI device refcount
    media: seco-cec: decrement HDMI device refcount
    media: tegra_cec: use new cec_notifier_parse_hdmi_phandle helper
    media: stih_cec: use new cec_notifier_parse_hdmi_phandle helper
    media: s5p_cec: use new cec_notifier_parse_hdmi_phandle helper
    media: meson: ao-cec: use new cec_notifier_parse_hdmi_phandle helper
    ...

    Linus Torvalds
     

08 May, 2019

13 commits

  • The line6 toneport driver has code for some delayed initialization,
    and this hits the kernel Oops because mutex and other sleepable
    functions are used in the timer callback. Fix the abuse by a delayed
    work instead so that everything works gracefully.

    Reported-by: syzbot+a07d0142e74fdd595cfb@syzkaller.appspotmail.com
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The build of aica sound driver has been broken since the timer API
    conversion and some code rewrite. This patch fixes the breakage by
    using the common substream field, as well as a bit cleaning up wrt the
    timer handling in the code.

    Fixes: d522bb6a105f ("ALSA: sh: aica: Convert timers to use timer_setup()")
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • Remove hp_pin = 0 return. Add the default pin 0x21 as headphone.
    Supported low power consumption, it must do depop procedure when
    headset jack was plugged or unplugged.
    So, alc256_init() and alc256_shutup() must run delay when headset jack
    was plugged or unplugged.
    If depop procedure not run with delay, it will have a chance to let
    power consumption raise high.

    [ NOTE: this is a quite quite similar change for ALC295 by commit
    d3ba58bb8959 ("ALSA: hda/realtek - Support low power consumption for
    ALC295"), but applied to ALC256 codec instead -- tiwai ]

    Fixes: 8983eb602af5 ("ALSA: hda/realtek - Move to ACT_INIT state")
    Signed-off-by: Kailang Yang
    Signed-off-by: Takashi Iwai

    Kailang Yang
     
  • …/sound into for-linus

    ASoC: Fixes for v5.2

    A bunch of driver specific fixes that came in since the initial pull
    request for v5.2, mainly warning fixes for the newly added Sound Open
    Firmware code which people appeared to only start looking at after I'd
    sent the pull request.

    Takashi Iwai
     
  • - Set period minimum size. Ensure at least 5ms period
    up to 48kHz/16 bits to prevent underrun/overrun.
    - Remove MDMA constraints on period maximum size and
    set period maximum to half the buffer maximum size.

    Signed-off-by: Olivier Moysan
    Signed-off-by: Mark Brown

    Olivier Moysan
     
  • Some userspace apps, like pulseaudio, may call open, hw_params,
    prepare to judge whether the pcm is ready or not. Current hdac_hdmi
    will return -ENODEV if monitor is not connected, which will cause
    the apps believe the pcm is not ready. Actually PCM for hdmi is ready,
    even the monitor is not connected.

    This patch removes the check of monitor presence in hw_params, just like
    what the legacy HD-Audio driver does.

    Signed-off-by: Libin Yang
    Acked-by: Pierre-Louis Bossart
    Signed-off-by: Mark Brown

    Libin Yang
     
  • mt6358_amic_disable() resets PGA to 0.

    Save the gain settings from mixer control and restore them when using
    the microphone.

    Signed-off-by: Tzung-Bi Shih
    Signed-off-by: Mark Brown

    Tzung-Bi Shih
     
  • Output volume settings from mixer controls would be lost.

    Imagine that "Headphone Volume" has set to -10dB via amixer:
    - in mtk_hp_enable()
    - hp_store_gain() saves the volume setting -10dB from regmap_read()
    to ana_gain[AUDIO_ANALOG_VOLUME_HPOUTL]
    - headset_volume_ramp() ramps up from -10dB to -10dB
    - in mtk_hp_disable()
    - headset_volume_ramp() ramps down from -10dB to -40dB

    Next time in mtk_hp_enable(), hp_store_gain() would save -40dB but
    not -10dB. As a result, headset_volume_ramp() would ramp from -10dB to
    -40dB (which is mute).

    Signed-off-by: Tzung-Bi Shih
    Signed-off-by: Mark Brown

    Tzung-Bi Shih
     
  • Mt6358 ramps up from the smallest volume (i.e. -10dB) to target dB when
    opening and ramps down from target dB to mute (i.e. -40dB) when closing.
    If target is equal to -10dB when opening, headset_volume_ramp() simply
    leaves current setting (which may not be -10dB) unchanged.

    Execute the loop at least once to initialize the setting to the
    starting point (i.e. from).

    Signed-off-by: Tzung-Bi Shih
    Signed-off-by: Mark Brown

    Tzung-Bi Shih
     
  • The existing code mistakenly uses IS_ENABLED in C code instead of as
    in conditional compilation, leading to the following error:

    ld: sound/soc/sof/core.o: in function `sof_machine_check':
    sound/soc/sof/core.c:279: undefined reference to `sof_nocodec_setup'

    Fix by using #if !IS_ENABLED()

    Reported-by: kbuild test robot
    Signed-off-by: Pierre-Louis Bossart
    Signed-off-by: Mark Brown

    Pierre-Louis Bossart
     
  • The SND_SOC_INTEL_COMMON Kconfig was removed months ago from SOF
    Kconfig files but is still selected instead of the correct
    SND_SOC_SOF_INTEL_COMMON kconfig which does select xtensa stuff,
    leading to the following errors.

    ld: sound/soc/sof/sof-acpi-dev.o:(.rodata+0x120): undefined reference
    to `sof_xtensa_arch_ops'
    ld: sound/soc/sof/sof-acpi-dev.o:(.rodata+0x180): undefined reference
    to `sof_xtensa_arch_ops'
    ld: sound/soc/sof/sof-acpi-dev.o:(.rodata+0x1e0): undefined reference
    to `sof_xtensa_arch_ops'

    Reported-by: kbuild test robot
    Signed-off-by: Pierre-Louis Bossart
    Signed-off-by: Mark Brown

    Pierre-Louis Bossart
     
  • This fixes a compile warning below by properly handling the error code
    from sof_get_ctrl_copy_params():
    include/linux/kernel.h:843:43: warning: 'sparams.pl_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
    sound/soc/sof/ipc.c:639:34: note: 'sparams.pl_size' was declared here

    The function returns an error before setting sparams.pl_size, so it'd
    assign an uninitialized value at a later point.

    Fixes: 53e0c72d98ba ("ASoC: SOF: Add support for IPC IO between DSP and Host")
    Signed-off-by: Takashi Iwai
    Signed-off-by: Mark Brown

    Takashi Iwai
     
  • On the System76 Gazelle (gaze14), there is a headset microphone input
    attached to 0x1a that does not have a jack detect. In order to get it
    working, the pin configuration needs to be set correctly, and the
    ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC fixup needs to be applied. This is
    identical to the patch already applied for the System76 Darter Pro
    (darp5).

    Signed-off-by: Jeremy Soller
    Cc:
    Signed-off-by: Takashi Iwai

    Jeremy Soller