]> git.sur5r.net Git - u-boot/commitdiff
pxa: fix usb host register mismatch
authorStefan Herbrechtsmeier <sherbrec@cit-ec.uni-bielefeld.de>
Mon, 17 Oct 2011 15:22:46 +0000 (17:22 +0200)
committerRemy Bohmer <linux@bohmer.net>
Sun, 11 Dec 2011 13:40:54 +0000 (14:40 +0100)
Signed-off-by: Stefan Herbrechtsmeier <sherbrec@cit-ec.uni-bielefeld.de>
CC: Marek Vasut <marek.vasut@gmail.com>
CC: Remy Bohmer <linux@bohmer.net>
arch/arm/cpu/pxa/usb.c
arch/arm/include/asm/arch-pxa/pxa-regs.h

index 83022e2e563aa64b4fde2e0074c07f048cb06f46..e95e0df5c39d7febbf575c4010a4ef728d629108 100644 (file)
@@ -72,7 +72,7 @@ int usb_cpu_stop(void)
        udelay(11);
        writel(readl(UHCHR) & ~UHCHR_FHR, UHCHR);
 
-       writel(readl(UHCCOMS) | UHCHR_FHR, UHCCOMS);
+       writel(readl(UHCCOMS) | UHCCOMS_HCR, UHCCOMS);
        udelay(10);
 
 #if defined(CONFIG_CPU_MONAHANS)
index 8527c68c812cb410f31787f1e9b7a3a750d315c5..0c3cd6dd2dfa85126009c5aae2ced3bcb13ffb72 100644 (file)
@@ -835,6 +835,8 @@ typedef void                (*ExcpHndlr) (void) ;
 #define UHCHIE         0x4C000068
 #define UHCHIT         0x4C00006C
 
+#define UHCCOMS_HCR    (1<<0)
+
 #define UHCHR_FSBIR    (1<<0)
 #define UHCHR_FHR      (1<<1)
 #define UHCHR_CGR      (1<<2)