summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-02-20 04:01:51 +0000
committerGerrit Rockbox <gerrit@rockbox.org>2016-03-18 14:55:53 +0100
commitd0d66f3aac26ba7af4cac220368d1ec00dcb4092 (patch)
tree00a81ce975d51abc5ab3bd9d8e15f0bb78ecad30
parent4c6871cffaf5917165fc05d6bf77bd4cff34cfd5 (diff)
downloadrockbox-d0d66f3.tar.gz
rockbox-d0d66f3.tar.bz2
rockbox-d0d66f3.zip
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
-rw-r--r--firmware/target/arm/usb-s3c6400x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/usb-s3c6400x.c b/firmware/target/arm/usb-s3c6400x.c
index d51a71165c..920d1a6286 100644
--- a/firmware/target/arm/usb-s3c6400x.c
+++ b/firmware/target/arm/usb-s3c6400x.c
@@ -198,8 +198,6 @@ void usb_drv_set_test_mode(int mode)
void usb_attach(void)
{
- usb_enable(true); // s5l only ?
- /* Nothing to do */
}
static void prepare_setup_ep0(void)