mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
4c6871cffa
commit
d0d66f3aac
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue