From: Hema HK Subject: [PATCH 4/5] usb: musb: OMAP4430: Power down the PHY during board init Date: Fri, 25 Feb 2011 15:41:02 +0530 Message-ID: <1298628663-27650-5-git-send-email-hemahk@ti.com> References: <1298628663-27650-1-git-send-email-hemahk@ti.com> Return-path: In-Reply-To: <1298628663-27650-1-git-send-email-hemahk-l0cyMroinI0@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Hema HK , Felipe Balbi , Tony Lindgren , Paul Walmsley List-Id: linux-omap@vger.kernel.org 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 Cc: Felipe Balbi Cc: Tony Lindgren Cc: Paul Walmsley --- arch/arm/mach-omap2/usb-musb.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 85fc30a..268ce0a 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -115,6 +115,10 @@ 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 -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html