usb: gadget: f_uac2: fix error handling at afunc_bind
authorPeter Chen <peter.chen@nxp.com>
Tue, 8 Nov 2016 02:10:44 +0000 (10:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jan 2017 10:16:07 +0000 (11:16 +0100)
commitc67c2ed829f3854c1df95ca53bbfdfc9c906d510
treee6b6758487769d22173e57b107bcbb768132505f
parent747b31526369e700feac40e0cbc7d9b610e29649
usb: gadget: f_uac2: fix error handling at afunc_bind

commit f1d3861d63a5d79b8968a02eea1dcb01bb684e62 upstream.

The current error handling flow uses incorrect goto label, fix it

Fixes: d12a8727171c ("usb: gadget: function: Remove redundant usb_free_all_descriptors")
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_uac2.c