From: tony@atomide.com (Tony Lindgren) Date: Fri, 19 Feb 2010 15:30:19 -0800 Subject: [PATCH 03/11] arm: omap: musb: ioremap only what's ours In-Reply-To: <20100219232648.10559.380.stgit@baageli.muru.com> References: <20100219232648.10559.380.stgit@baageli.muru.com> Message-ID: <20100219233019.10559.71005.stgit@baageli.muru.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Felipe Balbi omap3430 TRM says the OTG address space is 4k, not 8k. Cc: linux-usb at vger.kernel.org Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/usb-musb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index a80441d..ba71f76 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