From d2958b9d3298f67e7648c30dfc675a8bb020e17f Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Thu, 20 Oct 2011 14:48:20 +0000 Subject: 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 --- firmware/target/arm/usb-drv-arc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/target/arm') diff --git a/firmware/target/arm/usb-drv-arc.c b/firmware/target/arm/usb-drv-arc.c index dbb64cbf10..ac34cce6ae 100644 --- a/firmware/target/arm/usb-drv-arc.c +++ b/firmware/target/arm/usb-drv-arc.c @@ -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) -- cgit v1.2.3