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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:09 +0000 (13:54 +0200)
commitf1d3861d63a5d79b8968a02eea1dcb01bb684e62
tree6046873490791781ad31e94ae7a473538e48abab
parent982555fc26f9d8bcdbd5f9db0378fe0682eb4188
usb: gadget: f_uac2: fix error handling at afunc_bind

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

Cc: <stable@vger.kernel.org>
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>
drivers/usb/gadget/function/f_uac2.c