usb-s3c6400x: prevent calling usb_enable(enable) twice on USB insert

First time we call usb_enable(enable) on USB_INSERTED event from usb_stack_enable()

Change-Id: I76f66517e1d571ee02553972a7de8414e6f340ba
This commit is contained in:
Mihail Zenkov 2016-02-20 04:01:51 +00:00 committed by Gerrit Rockbox
parent 4c6871cffa
commit d0d66f3aac

View file

@ -198,8 +198,6 @@ void usb_drv_set_test_mode(int mode)
void usb_attach(void) void usb_attach(void)
{ {
usb_enable(true); // s5l only ?
/* Nothing to do */
} }
static void prepare_setup_ep0(void) static void prepare_setup_ep0(void)