diff options
author | Mihail Zenkov <mihail.zenkov@gmail.com> | 2016-02-20 04:01:51 +0000 |
---|---|---|
committer | Gerrit Rockbox <gerrit@rockbox.org> | 2016-03-18 14:55:53 +0100 |
commit | d0d66f3aac26ba7af4cac220368d1ec00dcb4092 (patch) | |
tree | 00a81ce975d51abc5ab3bd9d8e15f0bb78ecad30 /firmware/target/arm | |
parent | 4c6871cffaf5917165fc05d6bf77bd4cff34cfd5 (diff) |
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
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/usb-s3c6400x.c | 2 |
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) |