]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: firewire-digi00x: simplify error path to begin streaming session
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 11 Jun 2019 13:21:09 +0000 (22:21 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 14:02:04 +0000 (16:02 +0200)
commit638e19fc46afceb65f6bfff65b2164fbb3324cb3
treedec31cd72227021abc33e4032642e1c6a366fca7
parentd18b0a6e42f7d4fca64f34ea0b76a312be632d7a
ALSA: firewire-digi00x: simplify error path to begin streaming session

This commit is a part of preparation to perform allocation/release
of isochronous resources in pcm.hw_params/hw_free callbacks.

The caller of begin_session() calls finish_session() in its error path,
thus no need to call finish_session() in error path of begin_session().

This commit simplifies error path of begin_session().

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/digi00x/digi00x-stream.c