]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
arm: omap: musb: ioremap only what's ours
authorFelipe Balbi <felipe.balbi@nokia.com>
Wed, 17 Feb 2010 22:09:29 +0000 (14:09 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 19 Feb 2010 23:22:17 +0000 (15:22 -0800)
omap3430 TRM says the OTG address space is 4k, not 8k.

Cc: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/usb-musb.c

index a80441dd19b89367e9d67691d656ace1bbb4349d..ba71f762db71f18c1508b01a2db7682b631ffaea 100644 (file)
@@ -152,7 +152,7 @@ void __init usb_musb_init(void)
                musb_resources[0].start = OMAP243X_HS_BASE;
        else
                musb_resources[0].start = OMAP34XX_HSUSB_OTG_BASE;
-       musb_resources[0].end = musb_resources[0].start + SZ_8K - 1;
+       musb_resources[0].end = musb_resources[0].start + SZ_4K - 1;
 
        /*
         * REVISIT: This line can be removed once all the platforms using