]> git.baikalelectronics.ru Git - 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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 19:05:12 +0000 (20:05 +0100)
commit5cb7b84d4dea197e98d3ec82d3d954db7d47aed6
treea1671f54c702944b73a0f2de3756f1eed83c6385
parent552c089cf8f3812edbc08ed172e88a8eaaec34de
ALSA: oxfw: 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: 26e6f321f2a4 ("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>
sound/firewire/oxfw/oxfw-pcm.c