]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ALSA: oxfw: fix return value in error path of isochronous resources reservation
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 9 Dec 2019 15:03:04 +0000 (00:03 +0900)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 6 Jan 2020 13:33:27 +0000 (07:33 -0600)
commit233b3cd9d5ff84c98fa9d30f38119f0358995995
tree4682e3d7a562c363cb99585fa797fd2d88ed5bb4
parent9348a0aa067bff69e43d959c693251724960a355
ALSA: oxfw: fix return value in error path of isochronous resources reservation

BugLink: https://bugs.launchpad.net/bugs/1858424
commit 59a126aa3113fc23f03fedcafe3705f1de5aff50 upstream.

Even if isochronous resources reservation fails, error code doesn't return
in pcm.hw_params callback.

Cc: <stable@vger.kernel.org> #5.3+
Fixes: 4f380d007052 ("ALSA: oxfw: configure packet format in pcm.hw_params callback")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191209151655.GA8090@workstation
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
sound/firewire/oxfw/oxfw-pcm.c