Skip to content

Commit

Permalink
arm: omap: musb: ioremap only what's ours
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi authored and Tony Lindgren committed Feb 19, 2010
1 parent 1a4f463 commit f982855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/usb-musb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f982855

Please sign in to comment.