Some iPod Video's need a 2nd call of ub_drv_init() to establish the USB connection. This workaround breaks the USB functionality for other devices. Until there is a proper fix available just use the workaround for iPod Video only. Fixes FS#12324.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2011-10-20 14:48:20 +00:00
parent f4a1501d4a
commit d2958b9d32

View file

@ -493,7 +493,11 @@ void usb_drv_init(void)
void usb_drv_attach(void)
{
logf("usb_drv_attach");
#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
}
void usb_drv_exit(void)