[GIT PULL] sound fixes for 5.16-rc1

From: Takashi Iwai
Date: Fri Nov 12 2021 - 04:05:55 EST


Linus,

please pull sound fixes for v5.16-rc1 from:

git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-5.16-rc1

The topmost commit is 0ca37273ee0a0b0dc0ef039421fbd16329ee2870

----------------------------------------------------------------

sound fixes for 5.16-rc1

A collection of fixes for 5.16-rc1, notably for a few regressions
that were found in 5.15 and pre-rc1.

- The revert of the unification of SG-buffer helper functions on
x86 and the relevant fix
- Regression fixes for mmap after the recent code refactoring
- Two NULL dereference fixes in HD-audio controller driver
- UAF fixes in ALSA timer core
- A few usual HD-audio and FireWire quirks

----------------------------------------------------------------

Austin Kim (1):
ALSA: synth: missing check for possible NULL after the call to kstrdup

Jaroslav Kysela (1):
ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N

Jeremy Soller (1):
ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ

Kai Vehmanen (1):
ALSA: hda: fix general protection fault in azx_runtime_idle

Kai-Heng Feng (1):
ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED

Takashi Iwai (9):
Revert "ALSA: memalloc: Convert x86 SG-buffer handling with non-contiguous type"
ALSA: memalloc: Catch call with NULL snd_dma_buffer pointer
ALSA: timer: Unconditionally unlink slave instances, too
ALSA: hda/realtek: Add quirk for ASUS UX550VE
ALSA: PCM: Fix NULL dereference at mmap checks
ALSA: pci: rme: Fix unaligned buffer addresses
ALSA: memalloc: Use proper SG helpers for noncontig allocations
ALSA: memalloc: Remove a stale comment
ALSA: hda: Free card instance properly at probe errors

Takashi Sakamoto (3):
ALSA: firewire-motu: add support for MOTU Traveler mk3
ALSA: firewire-motu: add support for MOTU Track 16
ALSA: fireworks: add support for Loud Onyx 1200f quirk

Wang Wensheng (1):
ALSA: timer: Fix use-after-free problem

---
include/sound/memalloc.h | 14 +-
sound/core/Makefile | 1 +
sound/core/memalloc.c | 105 +++++++++------
sound/core/sgbuf.c | 201 ++++++++++++++++++++++++++++
sound/core/timer.c | 17 ++-
sound/firewire/Kconfig | 3 +
sound/firewire/fireworks/fireworks_stream.c | 5 +-
sound/firewire/motu/motu-protocol-v3.c | 33 ++++-
sound/firewire/motu/motu.c | 2 +
sound/firewire/motu/motu.h | 2 +
sound/pci/hda/hda_intel.c | 4 +-
sound/pci/hda/patch_realtek.c | 17 +++
sound/pci/rme9652/hdsp.c | 41 +++---
sound/pci/rme9652/rme9652.c | 41 +++---
sound/synth/emux/emux.c | 2 +-
15 files changed, 386 insertions(+), 102 deletions(-)
create mode 100644 sound/core/sgbuf.c