[PATCH 03/11] arm: omap: musb: ioremap only what's ours
Aguirre, Sergio
saaguirre at ti.com
Fri Feb 19 18:37:40 EST 2010
Hi,
> -----Original Message-----
> From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-
> owner at vger.kernel.org] On Behalf Of Tony Lindgren
> Sent: Friday, February 19, 2010 5:30 PM
> To: linux-arm-kernel at lists.infradead.org
> Cc: Felipe Balbi; linux-omap at vger.kernel.org; linux-usb at vger.kernel.org
> Subject: [PATCH 03/11] arm: omap: musb: ioremap only what's ours
>
> From: Felipe Balbi <felipe.balbi at nokia.com>
>
> omap3430 TRM says the OTG address space is 4k, not 8k.
>
> Cc: linux-usb at vger.kernel.org
> Signed-off-by: Felipe Balbi <felipe.balbi at nokia.com>
> Signed-off-by: Tony Lindgren <tony at atomide.com>
> ---
> 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;
I'm just curious...
Is this valid also if cpu_is_243x() ?
Regards,
Sergio
>
> /*
> * REVISIT: This line can be removed once all the platforms using
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the linux-arm-kernel
mailing list