usb: gadget: function: uac2: prevent double ep disable
authorFelipe Balbi <balbi@ti.com>
Mon, 29 Sep 2014 19:23:41 +0000 (14:23 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 20 Oct 2014 20:58:49 +0000 (15:58 -0500)
commitf3bb7b298120df8a9b7354e4f6d07e3185c15db7
tree8cbaff1c898ebe1e18a9987fba575e1baeb81b28
parent703a303c187ef7e3c8daf8a1be343576c9579eaf
usb: gadget: function: uac2: prevent double ep disable

without this check, f_uac2 would try to disable
the same endpoint twice. Fix that.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_uac2.c