From patchwork Fri Aug 12 15:28:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjarne Steinsbo X-Patchwork-Id: 1061432 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7CFSBU7007719 for ; Fri, 12 Aug 2011 15:28:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752625Ab1HLP2J (ORCPT ); Fri, 12 Aug 2011 11:28:09 -0400 Received: from mail-vx0-f174.google.com ([209.85.220.174]:35866 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752534Ab1HLP2H (ORCPT ); Fri, 12 Aug 2011 11:28:07 -0400 Received: by mail-vx0-f174.google.com with SMTP id 9so2453955vxi.19 for ; Fri, 12 Aug 2011 08:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sjNJMYunyFdNVRMCzHoaO4eqMnkeRmXHA2Bzb+DS00M=; b=tia0HJO6suOg3wJ76TvbB5ujJ+fZgUiOFVfYA11lxIrpmK3ptaVaT24pl80IV2BS1F RasrJDsuvx6R2IvADsLiq6DsN3kN0mrqzGw2GVsgwTRAX1oOoMUomalaiqPIICoQFWrR QCHklIOfem5cL//veRxW/6NkTZ9jKYcgNnyKk= MIME-Version: 1.0 Received: by 10.220.150.14 with SMTP id w14mr256887vcv.167.1313162887050; Fri, 12 Aug 2011 08:28:07 -0700 (PDT) Received: by 10.220.203.138 with HTTP; Fri, 12 Aug 2011 08:28:07 -0700 (PDT) In-Reply-To: <20110812094824.GQ19467@legolas.emea.dhcp.ti.com> References: <20110812094824.GQ19467@legolas.emea.dhcp.ti.com> Date: Fri, 12 Aug 2011 17:28:07 +0200 Message-ID: Subject: [PATCHv2 3/4] usb: musb: OMAP4430: Remove incorrect call to omap4430_phy_init() From: Bjarne Steinsbo To: balbi@ti.com, linux-omap@vger.kernel.org Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 12 Aug 2011 15:28:12 +0000 (UTC) Don't call omap4430_phy_init(dev) before dev is initialized. The real omap4430_phy_init(dev) call is done at the end of this function. Signed-off-by: Bjarne Steinsbo Acked-by: Felipe Balbi --- V2: Oops.. Add missing sob. arch/arm/mach-omap2/usb-musb.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) name = "musb-am35x"; diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index a65145b..19e4dac 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -137,9 +137,6 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data) musb_plat.mode = board_data->mode; musb_plat.extvbus = board_data->extvbus; - if (cpu_is_omap44xx()) - omap4430_phy_init(dev); - if (cpu_is_omap3517() || cpu_is_omap3505()) { oh_name = "am35x_otg_hs";