From 5028eaa0252c6ce8707dcf473df493d9681b9359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 12 Sep 2010 15:32:46 +0000 Subject: [PATCH] AMS USBv2: use OF settings for undocumented register still failing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28061 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/usb-drv-as3525v2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c index d87ccb5f87..63f6e83dff 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525v2.c +++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c @@ -148,8 +148,7 @@ static void as3525v2_connect(void) GUSBCFG |= GUSBCFG_force_device_mode; usb_delay(); /* 11) Do something that is probably CCU related but undocumented*/ - CCU_USB &= ~0x1000; - usb_delay(); + CCU_USB |= 0x1000; CCU_USB &= ~0x300000; usb_delay(); /* 12) reset usb core parameters (dev addr, speed, ...) */