ARM: n30: fix: suspended wrong USB port on Acer n35
authorPinkava J <Jiri.Pinkava@vscht.cz>
Thu, 6 May 2010 13:19:19 +0000 (15:19 +0200)
committerBen Dooks <ben-linux@fluff.org>
Fri, 7 May 2010 00:41:31 +0000 (09:41 +0900)
There is bug in USB setup code for Acer n35 (it is related directly to s3c2410,
see doc). We want suspend host port (is not connected) but device port should be
active.

Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2410/mach-n30.c

index 684710f8814277a46d4ecceb50de23d4c39e74e9..1b635fda4ea5afb0313c2ae3fe5e5da04c376dc4 100644 (file)
@@ -532,7 +532,7 @@ static void __init n30_init(void)
                s3c2410_modify_misccr(S3C2410_MISCCR_USBHOST |
                                      S3C2410_MISCCR_USBSUSPND0 |
                                      S3C2410_MISCCR_USBSUSPND1,
-                                     S3C2410_MISCCR_USBSUSPND1);
+                                     S3C2410_MISCCR_USBSUSPND0);
 
                platform_add_devices(n35_devices, ARRAY_SIZE(n35_devices));
        }