ALSA: fireface: Use common error handling code in pcm_open()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 23 Aug 2017 12:45:20 +0000 (14:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 13:52:44 +0000 (15:52 +0200)
commitaf43173c80e424e2e5bc964c9d6a01cdaece8291
tree7fedce827d3add5c3b1de087249a31eb0eebfdcf
parent731209cc041779faac963578d901cb1caacbd738
ALSA: fireface: Use common error handling code in pcm_open()

Add a jump target so that a bit of exception handling can be better reused
at the end of this function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-pcm.c