ALSA: line6: Remove double line6_pcm_release() after failed acquire.
authorAndrej Krutak <dev@andree.sk>
Thu, 18 Aug 2016 21:52:10 +0000 (23:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Aug 2016 09:36:58 +0000 (11:36 +0200)
commit7e4379eae0e31994ea645db1d13006ea8e5ce539
tree3439d705df949d3c5dea03095ccc90d017290a49
parenta52ff34e5ec61749c62c6618b76a9d6dbecee450
ALSA: line6: Remove double line6_pcm_release() after failed acquire.

If there's an error, pcm is released in line6_pcm_acquire already.

Fixes: 247d95ee6dd2 ('ALSA: line6: Handle error from line6_pcm_acquire()')
Cc: <stable@vger.kernel.org> # v4.0+
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pcm.c