tweak musb_hdrc SOC init code
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 2 Sep 2008 19:05:00 +0000 (12:05 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Sep 2008 23:50:21 +0000 (16:50 -0700)
commit8cc4af26d1e2b01cd9dc2c5e6b166d08946bc2e6
tree6fb82fec20836cbc718fe5f42c44c634040ece66
parent328e2c6dfe3301018f726ed45371f14000525b11
tweak musb_hdrc SOC init code

Minor cleanups to omap 2430/34xx/35x musb_hdrc init:

 - num_eps is 16; here, each one is bidirectional
 - use DMA_32BIT_MASK to prevent confusion/errors
 - initialize root port power to reflect 100 mA limit

This still hard-wires some board-specific data, since there
are no hooks through which different boards can provide the
right data to the init code.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/usb-musb.c