[GIT PULL] sound fixes for 4.17-rc1

From: Takashi Iwai
Date: Tue Apr 10 2018 - 06:40:13 EST


Linus,

please pull sound fixes for v4.17-rc1 from:

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

The topmost commit is e1a3a981e320a6916b30ff53571ba144274def0e

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

sound fixes for 4.17-rc1

The main purpose of this pull request is a fix for a regression
in the recent PCM OSS emulation code that may lead to RCU stall.
Since syzkaller hits this too often, I send the pull request now
with a minimal collection. Possibly another pull request may
follow before RC1.

The other fixes here are for USB-audio class 2 and 3 to improve
the parser for the clock descriptors. These are rather cleanups
but good for security, too.

Last but not least, another included fix is the trivial one to
remove superfluous WARN_ON() that annoyed syzbot.

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

Takashi Iwai (5):
ALSA: usb-audio: Refactor clock finder helpers
ALSA: usb-audio: More strict sanity checks for clock parsers
ALSA: usb-audio: Add sanity checks in UAC3 clock parsers
ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation
ALSA: pcm: Remove WARN_ON() at snd_pcm_hw_params() error

---
sound/core/oss/pcm_oss.c | 5 +-
sound/core/pcm_native.c | 2 +-
sound/usb/clock.c | 128 ++++++++++++++++++++---------------------------
3 files changed, 58 insertions(+), 77 deletions(-)