From: Felipe Balbi Date: Wed, 17 Feb 2010 22:09:29 +0000 (-0800) Subject: arm: omap: musb: ioremap only what's ours X-Git-Tag: v2.6.34-rc1~230^2~32 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f9828552b945b9522f15f9eccea6d6df0af49753;p=karo-tx-linux.git arm: omap: musb: ioremap only what's ours omap3430 TRM says the OTG address space is 4k, not 8k. Cc: linux-usb@vger.kernel.org Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index a80441dd19b8..ba71f762db71 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -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