Skip to content

Commit

Permalink
usb: musb: OMAP4430: Power down the PHY during board init
Browse files Browse the repository at this point in the history
Powerdown the internal PHY during board init for OMAP44xx.
So that when musb is disabled core transition to retention/off
is not blocked.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Hema HK authored and Felipe Balbi committed May 18, 2011
1 parent 693d92a commit 1f15848
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions arch/arm/mach-omap2/usb-musb.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data)
int bus_id = -1;
const char *oh_name, *name;

if (cpu_is_omap3517() || cpu_is_omap3505()) {
} else if (cpu_is_omap44xx()) {
usb_musb_mux_init(board_data);
}

/*
* REVISIT: This line can be removed once all the platforms using
* musb_core.c have been converted to use use clkdev.
Expand Down Expand Up @@ -164,6 +159,9 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data)
dev->dma_mask = &musb_dmamask;
dev->coherent_dma_mask = musb_dmamask;
put_device(dev);

if (cpu_is_omap44xx())
omap4430_phy_init(dev);
}

#else
Expand Down

0 comments on commit 1f15848

Please sign in to comment.