diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2013-05-14 22:13:38 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2013-05-14 22:13:38 -0400 |
commit | 91b850ec425545d52d25c5b0f9a2caf6f853dfb7 (patch) | |
tree | 7b10cc1d7c165b78f73aa4a202230fad69144f65 /firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c | |
parent | 8d21fc9229eff863437cd45f9b833ede26792a73 (diff) | |
download | rockbox-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/gigabeat-s/usb-gigabeat-s.c')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/usb-gigabeat-s.c | 2 |
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) | |||
123 | bootloader_install_mode = | 123 | bootloader_install_mode = |
124 | (button_status() & USB_BL_INSTALL_MODE_BTN) != 0; | 124 | (button_status() & USB_BL_INSTALL_MODE_BTN) != 0; |
125 | } | 125 | } |
126 | |||
127 | usb_drv_attach(); | ||
128 | } | 126 | } |
129 | 127 | ||
130 | static void __attribute__((interrupt("IRQ"))) USB_OTG_HANDLER(void) | 128 | static void __attribute__((interrupt("IRQ"))) USB_OTG_HANDLER(void) |