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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 19:06:18 +0000 (20:06 +0100)
commit480136343cbe89426d6c2ab74ffb4e3ee572c7ee
treeef0ac59328f6b0f4c6ce6721414cb53502315107
parent59a126aa3113fc23f03fedcafe3705f1de5aff50
ALSA: fireface: fix return value in error path of isochronous resources reservation

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>
sound/firewire/fireface/ff-pcm.c