summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx31
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-05-14 22:13:38 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-05-14 22:13:38 -0400
commit91b850ec425545d52d25c5b0f9a2caf6f853dfb7 (patch)
tree7b10cc1d7c165b78f73aa4a202230fad69144f65 /firmware/target/arm/imx31
parent8d21fc9229eff863437cd45f9b833ede26792a73 (diff)
downloadrockbox-91b850ec425545d52d25c5b0f9a2caf6f853dfb7.tar.gz
rockbox-91b850ec425545d52d25c5b0f9a2caf6f853dfb7.zip
Get rid of usb_drv_attach() from USB code.
'Twas an idiosyncrasy of detecting a host upon bus reset, which is obsolete. Change-Id: I0adb25e1805022544f52cd0cb766819a367dbde4
Diffstat (limited to 'firmware/target/arm/imx31')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c
index c838f65c8a..9129568b7a 100644
--- a/firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c
@@ -123,8 +123,6 @@ void usb_attach(void)
bootloader_install_mode =
(button_status() & USB_BL_INSTALL_MODE_BTN) != 0;
}
-
- usb_drv_attach();
}
static void __attribute__((interrupt("IRQ"))) USB_OTG_HANDLER(void)