arm: pp: usb-fw-pp502x: remove hack in usb_attach()

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 5af0a5003163b4c00ea85735b35cbc52aed94ec1
Author: mojyack <[email protected]>
Date:   Wed Jan 21 00:16:35 2026 +0900

    arm: pp: usb-fw-pp502x: remove hack in usb_attach()
    
    not only is this unnecessary, but it causes a bus reset on certain iPod
    docks.
    
    Change-Id: I2c2cbf3e5660d0cf25fc6ff4367c23396c521a3f

diff --git a/firmware/target/arm/pp/usb-fw-pp502x.c b/firmware/target/arm/pp/usb-fw-pp502x.c
index a4d8e28a06..e3fa02e26f 100644
--- a/firmware/target/arm/pp/usb-fw-pp502x.c
+++ b/firmware/target/arm/pp/usb-fw-pp502x.c
@@ -197,11 +197,6 @@ void usb_enable(bool on)
 
 void usb_attach(void)
 {
-#if defined(IPOD_VIDEO)
-    /* FIXME: Some iPod Video's need this 2nd call of usb_drv_init() to establish
-     * an USB connection. */
-    usb_drv_init();
-#endif
 }
 
 bool usb_plugged(void)
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.