Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8E5EC433EF for ; Fri, 12 Nov 2021 09:05:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AC4D861058 for ; Fri, 12 Nov 2021 09:05:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234691AbhKLJIo (ORCPT ); Fri, 12 Nov 2021 04:08:44 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:39416 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232841AbhKLJIn (ORCPT ); Fri, 12 Nov 2021 04:08:43 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 399F21FDC3; Fri, 12 Nov 2021 09:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1636707952; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=mgN8I2FhDscZsU6nWhMV7T2NLpCB1V1lqr6JdHZo0mY=; b=SAtFIAS/WcqknZcE3awfm6nzTL46OojbLBZJjpWgQnLBJQUByXNf8F1lAyc0CWppsgBeEw pUhFWNCMKXFG2dBeSvzQ/ynj/Dvtr49k8S7zVHm6nlyE0YD9GDcgDrTHxARB3Dnp8VHlAb zV9d7xqV3jcf7kYISNQxqvKmo6H+w5E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1636707952; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=mgN8I2FhDscZsU6nWhMV7T2NLpCB1V1lqr6JdHZo0mY=; b=pXWlbXzA4Yjuge9OVFTdm0Va0DKXt0kGjVyqswppPzp9pdyvXrwbxoi2Yv01x/yK/fNAxz 855A68J3SMUAn/AQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 33BFAA3B83; Fri, 12 Nov 2021 09:05:52 +0000 (UTC) Date: Fri, 12 Nov 2021 10:05:52 +0100 Message-ID: From: Takashi Iwai To: Linus Torvalds Cc: Linux Kernel Mailing List Subject: [GIT PULL] sound fixes for 5.16-rc1 User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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