]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ALSA: fireface: fix return value in error path of isochronous resources reservation
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 9 Dec 2019 15:05:41 +0000 (00:05 +0900)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:23:55 +0000 (14:23 -0300)
commit9762280cbfb2cc4bf01614e968a1c1cac1cfd7eb
tree837fce0984600c2d042482da3d4e28dc52ec3176
parentd82eca6f4f096bdf0160cb231c6bb1e67132c736
ALSA: fireface: fix return value in error path of isochronous resources reservation

BugLink: https://bugs.launchpad.net/bugs/1856869
commit 480136343cbe89426d6c2ab74ffb4e3ee572c7ee 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: 55162d2bb0e8 ("ALSA: fireface: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks")
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: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/firewire/fireface/ff-pcm.c