VENDOR: intel: usb: gadget: ffs: avoid disable ep twice
When FFS gadget function is disabled, gadget driver tries to
disable the endpoints twice, which triggers warning message
in device driver.
This patch ensures that usb_ep_disable() is not called again
after the endpoint has been disabled.
Signed-off-by: Jiebing Li <email@example.com>
Signed-off-by: David Cohen <firstname.lastname@example.org>
Signed-off-by: Mihai Serban <email@example.com>
1 file changed