30 Jun, 2022

2 commits

  • This is the 5.15.50 stable release

    * tag 'v5.15.50': (1395 commits)
    Linux 5.15.50
    arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer
    serial: core: Initialize rs485 RTS polarity already on probe
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    drivers/bus/fsl-mc/fsl-mc-bus.c
    drivers/crypto/caam/ctrl.c
    drivers/pci/controller/dwc/pci-imx6.c
    drivers/spi/spi-fsl-qspi.c
    drivers/tty/serial/fsl_lpuart.c
    include/uapi/linux/dma-buf.h

    Jason Liu
     
  • This is the 5.15.41 stable release

    * tag 'v5.15.41': (1977 commits)
    Linux 5.15.41
    usb: gadget: uvc: allow for application to cleanly shutdown
    usb: gadget: uvc: rename function to be more consistent
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
    arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
    arch/arm64/configs/defconfig
    drivers/clk/imx/clk-imx8qxp-lpcg.c
    drivers/dma/imx-sdma.c
    drivers/gpu/drm/bridge/nwl-dsi.c
    drivers/mailbox/imx-mailbox.c
    drivers/net/phy/at803x.c
    drivers/tty/serial/fsl_lpuart.c
    security/keys/trusted-keys/trusted_core.c

    Jason Liu
     

09 Jun, 2022

1 commit

  • [ Upstream commit 0f1f7a6661394fe4a53db254c346d6aa2dd64397 ]

    For making easier to test, add the new quirk_flags bits 17 and 18 to
    enable and disable the generic implicit feedback mode. The bit 17 is
    equivalent with implicit_fb=1 option, applying the generic implicit
    feedback sync mode. OTOH, the bit 18 disables the implicit fb mode
    forcibly.

    Link: https://lore.kernel.org/r/20220421064101.12456-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Takashi Iwai
     

08 Apr, 2022

1 commit

  • [ Upstream commit ef248d9bd616b04df8be25539a4dc5db4b6c56f4 ]

    This fixes the near-silence of the headphone jack on the ALC256-based
    Samsung Galaxy Book Flex Alpha (NP730QCJ). The magic verbs were found
    through trial and error, using known ALC298 hacks as inspiration. The
    fixup is auto-enabled only when the NP730QCJ is detected. It can be
    manually enabled using model=alc256-samsung-headphone.

    Signed-off-by: Matt Kramer
    Link: https://lore.kernel.org/r/3168355.aeNJFYEL58@linus
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Matt Kramer
     

11 Mar, 2022

1 commit

  • This is the 5.15.27 stable release

    * tag 'v5.15.27': (3069 commits)
    Linux 5.15.27
    hamradio: fix macro redefine warning
    KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
    ...

    Signed-off-by: Jason Liu

    Conflicts:
    arch/arm/boot/dts/imx7ulp.dtsi
    arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
    arch/arm64/boot/dts/freescale/imx8mq.dtsi
    drivers/dma-buf/heaps/cma_heap.c
    drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
    drivers/gpu/drm/mxsfb/mxsfb_kms.c
    drivers/mmc/host/sdhci-esdhc-imx.c
    drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
    drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
    drivers/rpmsg/rpmsg_char.c
    drivers/soc/imx/gpcv2.c
    drivers/thermal/imx_thermal.c

    Jason Liu
     

26 Jan, 2022

1 commit

  • Currently, The fixed 512KB prealloc buffer size is too larger for
    tiny memory kernel (such as 16MB memory). This patch adds the module
    option "prealloc_buffer_size_kbytes" to specify prealloc buffer size.

    It's suitable for cards which use the generic dmaengine pcm driver
    with no config.

    Signed-off-by: Sugar Zhang
    Link: https://lore.kernel.org/r/1632394246-59341-1-git-send-email-sugar.zhang@rock-chips.com
    Signed-off-by: Mark Brown

    Sugar Zhang
     

29 Dec, 2021

1 commit

  • commit aa72394667e5cea3547e4c41ddff7ca8c632d764 upstream.

    Adds a new "alc285-hp-amp-init" model that can be used to apply the ALC285
    HP speaker amplifier initialization fixup to devices that are not already
    known by passing "hda_model=alc285-hp-amp-init" to the
    snd-sof-intel-hda-common module or "model=alc285-hp-amp-init" to the
    snd-hda-intel module, depending on which is being used.

    Signed-off-by: Bradley Scott
    Cc:
    Link: https://lore.kernel.org/r/20211213162246.506838-1-bscott@teksavvy.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Bradley Scott
     

02 Sep, 2021

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "Yet another set of documentation changes:

    - A reworking of PDF generation to yield better results for documents
    using CJK fonts in particular.

    - A new set of translations into traditional Chinese, a dialect for
    which I am assured there is a community of interested readers.

    - A lot more regular Chinese translation work as well.

    ... plus the usual assortment of updates, fixes, typo tweaks, etc"

    * tag 'docs-5.15' of git://git.lwn.net/linux: (55 commits)
    docs: sphinx-requirements: Move sphinx_rtd_theme to top
    docs: pdfdocs: Enable language-specific font choice of zh_TW translations
    docs: pdfdocs: Teach xeCJK about character classes of quotation marks
    docs: pdfdocs: Permit AutoFakeSlant for CJK fonts
    docs: pdfdocs: One-half spacing for CJK translations
    docs: pdfdocs: Add conf.py local to translations for ascii-art alignment
    docs: pdfdocs: Preserve inter-phrase space in Korean translations
    docs: pdfdocs: Choose Serif font as CJK mainfont if possible
    docs: pdfdocs: Add CJK-language-specific font settings
    docs: pdfdocs: Refactor config for CJK document
    scripts/kernel-doc: Override -Werror from KCFLAGS with KDOC_WERROR
    docs/zh_CN: Add zh_CN/accounting/psi.rst
    doc: align Italian translation
    Documentation/features/vm: riscv supports THP now
    docs/zh_CN: add infiniband user_verbs translation
    docs/zh_CN: add infiniband user_mad translation
    docs/zh_CN: add infiniband tag_matching translation
    docs/zh_CN: add infiniband sysfs translation
    docs/zh_CN: add infiniband opa_vnic translation
    docs/zh_CN: add infiniband ipoib translation
    ...

    Linus Torvalds
     

24 Aug, 2021

1 commit

  • The recent quirk for WALKMAN (commit 7af5a14371c1: "ALSA: usb-audio:
    Fix regression on Sony WALKMAN NW-A45 DAC") may be required for other
    devices and is worth to be put into the common quirk flags.
    This patch adds a new quirk flag bit QUIRK_FLAG_SET_IFACE_FIRST and a
    quirk table entry for the device.

    Link: https://lore.kernel.org/r/20210824055720.9240-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

23 Aug, 2021

2 commits

  • Fix a trivial warning for the indentation by putting an empty line:
    Documentation/sound/alsa-configuration.rst:2258: WARNING: Unexpected indentation.

    Fixes: a39978ed6df1 ("ALSA: doc: Add the description of quirk_flags option for snd-usb-audio")
    Reported-by: Stephen Rothwell
    Link: https://lore.kernel.org/r/20210823113518.30134-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • The previous patch allowed user to specify the aliasing of SSID via
    model option for applying a quirk. Update the documentation
    accordingly.

    Link: https://lore.kernel.org/r/20210823073722.14873-4-tiwai@suse.de
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

02 Aug, 2021

1 commit


26 Jul, 2021

1 commit

  • The conversion tools used during DocBook/LaTeX/html/Markdown->ReST
    conversion and some cut-and-pasted text contain some characters that
    aren't easily reachable on standard keyboards and/or could cause
    troubles when parsed by the documentation build system.

    Replace the occurences of the following characters:

    - U+00a0 (' '): NO-BREAK SPACE
    as it can cause lines being truncated on PDF output

    Reviewed-by: Takashi Iwai
    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/21abe5fa495a05ac1f998ed66184a77e19ac89cc.1626947264.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

19 Jul, 2021

1 commit


01 Jul, 2021

1 commit

  • …e/sound into for-linus

    ASoC: Updates for v5.14

    This release sees a nice new feature in the core from Morimoto-san,
    support for automatic negotiation of DAI formats between the components
    on the link. Otherwise the big highlight was the merging of the Tegra
    machine drivers into a single driver avoiding a bunch of duplication.

    - Support for automatic negotiation of DAI formats.
    - Accessory detection support for several Qualcomm parts.
    - Support for IEC958 control with hdmi-codec.
    - Merging of Tegra machine drivers into a single driver.
    - Support for AmLogic SM1 TOACODEC, Intel AlderLake-M, several NXP
    i.MX8 variants, NXP TFA1 and TDF9897, Rockchip RK817, Qualcomm
    Quinary MI2S, Texas Instruments TAS2505

    Takashi Iwai
     

10 Jun, 2021

1 commit


08 Jun, 2021

1 commit

  • The doc currently mentions that the IEC958 Playback Default should be
    exposed on the PCM iface, and the Playback Mask on the mixer iface.

    It's a bit confusing to advise to have two related controls on two
    separate ifaces, and it looks like the drivers that currently expose
    those controls use any combination of the mixer and PCM ifaces.

    Let's try to clarify the situation a bit, and encourage to at least have
    the controls on the same iface.

    Signed-off-by: Maxime Ripard
    Reviewed-by: Takashi Iwai
    Link: https://lore.kernel.org/r/20210525132354.297468-2-maxime@cerno.tech

    Maxime Ripard
     

02 Feb, 2021

1 commit

  • This change adds audio jack injection feature through debugfs, with
    this feature, we could validate alsa userspace changes by injecting
    plugin or plugout events to the non-phantom audio jacks.

    With this change, the sound core will build the folders
    $debugfs_mount_dir/sound/cardN if SND_DEBUG and DEBUG_FS are enabled.
    And if users also enable the SND_JACK_INJECTION_DEBUG, the jack
    injection nodes will be built in the folder cardN like below:

    $tree $debugfs_mount_dir/sound
    $debugfs_mount_dir/sound
    ├── card0
    │   ├── HDMI_DP_pcm_10_Jack
    │   │   ├── jackin_inject
    │   │   ├── kctl_id
    │   │   ├── mask_bits
    │   │   ├── status
    │   │   ├── sw_inject_enable
    │   │   └── type
    ...
    │   └── HDMI_DP_pcm_9_Jack
    │   ├── jackin_inject
    │   ├── kctl_id
    │   ├── mask_bits
    │   ├── status
    │   ├── sw_inject_enable
    │   └── type
    └── card1
    ├── HDMI_DP_pcm_5_Jack
    │   ├── jackin_inject
    │   ├── kctl_id
    │   ├── mask_bits
    │   ├── status
    │   ├── sw_inject_enable
    │   └── type
    ...
    ├── Headphone_Jack
    │   ├── jackin_inject
    │   ├── kctl_id
    │   ├── mask_bits
    │   ├── status
    │   ├── sw_inject_enable
    │   └── type
    └── Headset_Mic_Jack
    ├── jackin_inject
    ├── kctl_id
    ├── mask_bits
    ├── status
    ├── sw_inject_enable
    └── type

    The nodes kctl_id, mask_bits, status and type are read-only, users
    could check jack or jack_kctl's information through them.

    The nodes sw_inject_enable and jackin_inject are directly used for
    injection. The sw_inject_enable is read-write, users could check if
    software injection is enabled or not on this jack, and users could
    echo 1 or 0 to enable or disable software injection on this jack. Once
    the injection is enabled, the jack will not change by hardware events
    anymore, once the injection is disabled, the jack will restore the
    last reported hardware events to the jack. The jackin_inject is
    write-only, if the injection is enabled, users could echo 1 or 0 to
    this node to inject plugin or plugout events to this jack.

    For the detailed usage information on these nodes, please refer to
    Documentation/sound/designs/jack-injection.rst.

    Reviewed-by: Takashi Iwai
    Reviewed-by: Jaroslav Kysela
    Reviewed-by: Kai Vehmanen
    Signed-off-by: Hui Wang
    Link: https://lore.kernel.org/r/20210127085639.74954-2-hui.wang@canonical.com
    Signed-off-by: Takashi Iwai

    Hui Wang
     

14 Jan, 2021

1 commit

  • Pull sound fixes from Takashi Iwai:
    "Here are some piled fixes, hopefully the last big one for 5.11.

    All changes are device-specific small fixes, and majority of commits
    are for ASoC while USB-audio got a bit large changes for addressing
    the regression for devices with quirks"

    * tag 'sound-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (31 commits)
    ALSA: hda/hdmi - enable runtime pm for CI AMD display audio
    ALSA: firewire-tascam: Fix integer overflow in midi_port_work()
    ALSA: fireface: Fix integer overflow in transmit_midi_msg()
    ALSA: hda/tegra: fix tegra-hda on tegra30 soc
    clk: tegra30: Add hda clock default rates to clock driver
    ALSA: doc: Fix reference to mixart.rst
    ALSA: usb-audio: Fix implicit feedback sync setup for Pioneer devices
    ALSA: usb-audio: Annotate the endpoint index in audioformat
    ALSA: usb-audio: Avoid unnecessary interface re-setup
    ALSA: usb-audio: Choose audioformat of a counter-part substream
    ALSA: usb-audio: Fix the missing endpoints creations for quirks
    ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machines
    ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395
    ASoC: amd: Replacing MSI with Legacy IRQ model
    ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad E14 Gen 2
    ASoC: meson: axg-tdm-interface: fix loopback
    ASoC: meson: axg-tdmin: fix axg skew offset
    ASoC: max98373: don't access volatile registers in bias level off
    ASoC: rt711: mutex between calibration and power state changes
    ASoC: Intel: haswell: Add missing pm_ops
    ...

    Linus Torvalds
     

12 Jan, 2021

1 commit

  • MIXART.txt has been converted to ReST and renamed. Fix the reference
    in alsa-configuration.rst.

    Fixes: 3d8e81862ce4 ("ALSA: doc: ReSTize MIXART.txt")
    Signed-off-by: Jonathan Neuschäfer
    Cc:
    Link: https://lore.kernel.org/r/20210101221942.1068388-1-j.neuschaefer@gmx.net
    Signed-off-by: Takashi Iwai

    Jonathan Neuschäfer
     

01 Jan, 2021

1 commit

  • During the process of converting the documentation to reST, some links
    were converted using the following wrong syntax (and sometimes using %20
    instead of spaces):

    `Display text `__

    This syntax isn't valid according to the docutils' spec [1], but more
    importantly, it is specific to HTML, since it uses '#' to link to an
    HTML anchor.

    The right syntax would instead use a docutils hyperlink reference as the
    embedded URI to point to the section [2], that is:

    `Display text `__

    This syntax works in both HTML and PDF.

    The LaTeX toolchain doesn't mind the HTML anchor syntax when generating
    the pdf documentation (make pdfdocs), that is, the build succeeds but
    the links don't work, but that syntax causes errors when trying to build
    using the not-yet-merged rst2pdf:

    ValueError: format not resolved, probably missing URL scheme or undefined destination target for 'Forcing%20Quiescent%20States'

    So, use the correct syntax in order to have it work in all different
    output formats.

    [1]: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#reference-names
    [2]: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#embedded-uris-and-aliases

    Fixes: ccc9971e2147 ("docs: rcu: convert some articles from html to ReST")
    Fixes: c8cce10a62aa ("docs: Fix the reference labels in Locking.rst")
    Fixes: e548cdeffcd8 ("docs-rst: convert kernel-locking to ReST")
    Fixes: 7ddedebb03b7 ("ALSA: doc: ReSTize writing-an-alsa-driver document")
    Signed-off-by: Nícolas F. R. A. Prado
    Reviewed-by: Takashi Iwai
    Reviewed-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/20201228144537.135353-1-nfraprado@protonmail.com
    Signed-off-by: Jonathan Corbet

    Nícolas F. R. A. Prado
     

23 Nov, 2020

1 commit

  • A new module option, implicit_fb, is added to specify the driver
    looking for the implicit feedback sync. This can be useful for a
    device that could be working better in the implicit feed back mode and
    user wants to test it quickly. When this works, we can add the quirk
    entry easily.

    Tested-by: Keith Milner
    Tested-by: Dylan Robinson
    Link: https://lore.kernel.org/r/20201123085347.19667-40-tiwai@suse.de
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

15 Oct, 2020

4 commits

  • Some such markups are invalid, as reported by Sphinx:

    ./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3317: WARNING: Unparseable C cross-reference: 'snd_rawmidi_transmit*'
    Invalid C declaration: Expected end of definition. [error at 20]
    snd_rawmidi_transmit*
    --------------------^
    ./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3917: WARNING: Unparseable C cross-reference: 'copy_from/to_user'
    Invalid C declaration: Expected end of definition. [error at 9]
    copy_from/to_user
    ---------^

    The first case seems to be better replaced by a literal.

    For the second one, let's generate cross-references, by
    spliting it in two.

    Reviewed-by: Takashi Iwai
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • the :c:type shouldn't be used with structs with Sphinx 3,
    as the C domain there uses .. c:struct for structs.

    As we have the automarkup extension, let's just get rid of
    all :c:type as a whole, as those will be automagically
    marked as such.

    This solves a bunch of warnings with Sphinx 3, like those:

    .../Documentation/sound/kernel-api/writing-an-alsa-driver.rst:490: WARNING: Unparseable C cross-reference: 'calling snd_card_free'
    Invalid C declaration: Expected end of definition. [error at 8]
    calling snd_card_free
    --------^
    .../Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3328: WARNING: Unparseable C cross-reference: 'snd_rawmidi_transmit*'
    Invalid C declaration: Expected end of definition. [error at 20]
    snd_rawmidi_transmit*
    --------------------^
    .../Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3928: WARNING: Unparseable C cross-reference: 'copy_from/to_user'
    Invalid C declaration: Expected end of definition. [error at 9]
    copy_from/to_user
    ---------^

    Reviewed-by: Takashi Iwai
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The sound API is documented on two different parts:
    under Documentation/driver-api/sound.rst and under
    Documentation/sound/kernel-api/alsa-driver-api.rst.

    The alsa-driver-api.rst seems more complete, and APIs
    are split per type. There's just one missing kernel-doc
    markup there.

    Add it and drop the duplicated one.

    Reviewed-by: Takashi Iwai
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The :c:type:`foo` only works properly with structs before
    Sphinx 3.x.

    On Sphinx 3.x, structs should now be declared using the
    .. c:struct, and referenced via :c:struct tag.

    As we now have the automarkup.py macro, that automatically
    convert:
    struct foo

    into cross-references, let's get rid of that, solving
    several warnings when building docs with Sphinx 3.x.

    Reviewed-by: André Almeida # blk-mq.rst
    Reviewed-by: Takashi Iwai # sound
    Reviewed-by: Mike Rapoport
    Reviewed-by: Greg Kroah-Hartman
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

03 Sep, 2020

1 commit

  • We use HDaudio and HDAudio, pick one to make searches easier.
    No functionality change

    Also fix timestamping typo in documentation.

    Reported-by: Guennadi Liakhovetski
    Signed-off-by: Pierre-Louis Bossart
    Reviewed-by: Bard Liao
    Reviewed-by: Guennadi Liakhovetski
    Signed-off-by: Kai Vehmanen
    Link: https://lore.kernel.org/r/20200902154250.1440585-1-kai.vehmanen@linux.intel.com
    Signed-off-by: Takashi Iwai

    Pierre-Louis Bossart
     

24 Aug, 2020

1 commit

  • Fix documentation build warnings for underline length too short,
    caused by s/http/https/ and not changing the accompanying underlines.

    Documentation/sound/cards/audigy-mixer.rst:335: WARNING: Title underline too short.
    US Patents (https://www.uspto.gov/)
    ----------------------------------

    Documentation/sound/cards/sb-live-mixer.rst:340: WARNING: Title underline too short.
    US Patents (https://www.uspto.gov/)
    ----------------------------------

    Fixes: 7ed33ea6b4fa ("ALSA: Replace HTTP links with HTTPS ones")
    Signed-off-by: Randy Dunlap
    Cc: Alexander A. Klimov
    Link: https://lore.kernel.org/r/357ee576-32a2-6e2b-1db6-78be39253846@infradead.org
    Signed-off-by: Takashi Iwai

    Randy Dunlap
     

03 Aug, 2020

1 commit

  • …/sound into for-linus

    ASoC: Updates for v5.9

    The biggest changes here one again come from Mormioto-san who has
    continued his dilligent work cleaning up long standing issues in the
    APIs, it's particularly nice to see the transition from digital_mute()
    to mute_stream() finally completed. There's also been a lot of work on
    the x86 code again, this time a big focus has been on cleaning up some
    issues identified by various static tests, and on the Freescale systems.
    Otherwise the biggest thing has been a lot of driver additions:

    - Convert users of digital_mute() to mute_stream().
    - Simplify I/O helper functions.
    - Add a helper for getting the RTD from a substream.
    - Many, many fixes and cleanups to the x86 code.
    - New drivers for Freescale MQS and i.MX6sx, Intel KeemBay I2S, Maxim
    MAX98360A and MAX98373 Soundwire, several Mediatek boards, nVidia
    Tegra 186 and 210, RealTek RL6231, Samsung Midas and Aries boards (some
    of the first phones I worked on!) and TI J721e EVM.

    Takashi Iwai
     

01 Aug, 2020

2 commits


22 Jul, 2020

1 commit

  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Acked-by: Rob Herring
    Link: https://lore.kernel.org/r/20200719153822.59788-1-grandmaster@al2klimov.de
    Signed-off-by: Mark Brown

    Alexander A. Klimov
     

20 Jul, 2020

1 commit

  • Rationale:
    Reduces attack surface on kernel devs opening the links for MITM
    as HTTPS traffic is much harder to manipulate.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    Signed-off-by: Alexander A. Klimov
    Link: https://lore.kernel.org/r/20200719151705.59624-1-grandmaster@al2klimov.de
    Signed-off-by: Takashi Iwai

    Alexander A. Klimov
     

07 Jul, 2020

2 commits


30 Jun, 2020

1 commit

  • sound/soc/soc-io.c was merged into sound/soc/soc-component.c, so fixup
    the Documentation to use the updated file name.

    Error: Cannot open file ../sound/soc/soc-io.c
    WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno ../sound/soc/soc-io.c' failed with return code 1

    Fixes: 460b42d162e3 ("ASoC: soc-component: merge soc-io.c into soc-component.c")
    Signed-off-by: Randy Dunlap
    Acked-by: Kuninori Morimoto
    Cc: Kuninori Morimoto
    Cc: Mark Brown
    Link: https://lore.kernel.org/r/a9f59f30-8cf2-ea82-567c-1706fd64fe62@infradead.org
    Signed-off-by: Mark Brown

    Randy Dunlap
     

31 Mar, 2020

2 commits

  • patch_realtek.c has historically failed to properly configure the PC
    Beep Hidden Register for the ALC256 codec (among others). Depending on
    your kernel version, symptoms of this misconfiguration can range from
    chassis noise, picked up by a poorly-shielded PCBEEP trace, getting
    amplified and played on your internal speaker and/or headphones to loud
    feedback, which responds to the "Headphone Mic Boost" ALSA control,
    getting played through your headphones. For details of the problem, see
    the patch in this series titled "ALSA: hda/realtek - Set principled PC
    Beep configuration for ALC256", which fixes the configuration.

    These symptoms have been most noticed on the Dell XPS 13 9350 and 9360,
    popular laptops that use the ALC256. As a result, several model-specific
    fixups have been introduced to try and fix the problem, the most
    egregious of which locks the "Headphone Mic Boost" control as a hack to
    minimize noise from a feedback loop that shouldn't have been there in
    the first place.

    Now that the underlying issue has been fixed, remove all these fixups.
    Remaining fixups needed by the XPS 13 are all picked up by existing pin
    quirks.

    This change should, for the XPS 13 9350/9360

    - Significantly increase volume and audio quality on headphones
    - Eliminate headphone popping on suspend/resume
    - Allow "Headphone Mic Boost" to be set again, making the headphone
    jack fully usable as a microphone jack too.

    Fixes: 8c69729b4439 ("ALSA: hda - Fix headphone noise after Dell XPS 13 resume back from S3")
    Fixes: 423cd785619a ("ALSA: hda - Fix headphone noise on Dell XPS 13 9360")
    Fixes: e4c9fd10eb21 ("ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant")
    Fixes: 1099f48457d0 ("ALSA: hda/realtek: Reduce the Headphone static noise on XPS 9350/9360")
    Cc: stable@vger.kernel.org
    Signed-off-by: Thomas Hebb
    Link: https://lore.kernel.org/r/b649a00edfde150cf6eebbb4390e15e0c2deb39a.1585584498.git.tommyhebb@gmail.com
    Signed-off-by: Takashi Iwai

    Thomas Hebb
     
  • This codec (among others) has a hidden set of audio routes, apparently
    designed to allow PC Beep output without a mixer widget on the output
    path, which are controlled by an undocumented Realtek vendor register.
    The default configuration of these routes means that certain inputs
    aren't accessible, necessitating driver control of the register.
    However, Realtek has provided no documentation of the register, instead
    opting to fix issues by providing magic numbers, most of which have been
    at least somewhat erroneous. These magic numbers then get copied by
    others into model-specific fixups, leading to a fragmented and buggy set
    of configurations.

    To get out of this situation, I've reverse engineered the register by
    flipping bits and observing how the codec's behavior changes. This
    commit documents my findings. It does not change any code.

    Cc: stable@vger.kernel.org
    Signed-off-by: Thomas Hebb
    Link: https://lore.kernel.org/r/bd69dfdeaf40ff31c4b7b797c829bb320031739c.1585584498.git.tommyhebb@gmail.com
    Signed-off-by: Takashi Iwai

    Thomas Hebb
     

30 Mar, 2020

1 commit

  • …/sound into for-linus

    ASoC: Updates for v5.7

    This is a very big update for the core since Morimoto-san has been
    rather busy continuing his refactorings to clean up a lot of the cruft
    that we have accumilated over the years. We've also gained several new
    drivers, including initial (but still not complete) parts of the Intel
    SoundWire support.

    - Lots of refactorings to modernize the code from Morimoto-san.
    - Conversion of SND_SOC_ALL_CODECS to use imply from Geert Uytterhoeven.
    - Continued refactoring and fixing of the Intel support.
    - Soundwire and more advanced clocking support for Realtek RT5682.
    - Support for amlogic GX, Meson 8, Meson 8B and T9015 DAC, Broadcom
    DSL/PON, Ingenic JZ4760 and JZ4770, Realtek RL6231, and TI TAS2563 and
    TLV320ADCX140.

    Takashi Iwai
     

26 Mar, 2020

1 commit