From: Pinkava J Date: Thu, 6 May 2010 13:19:19 +0000 (+0200) Subject: ARM: n30: fix: suspended wrong USB port on Acer n35 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=be7c4cf632f47d798ad6a27da15de0195ddf6f30;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: n30: fix: suspended wrong USB port on Acer n35 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 Signed-off-by: Ben Dooks --- diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c index 684710f88142..1b635fda4ea5 100644 --- a/arch/arm/mach-s3c2410/mach-n30.c +++ b/arch/arm/mach-s3c2410/mach-n30.c @@ -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)); }