From patchwork Thu Aug 4 18:02:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjarne Steinsbo X-Patchwork-Id: 1036632 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 p74I2JEr025690 for ; Thu, 4 Aug 2011 18:02:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755256Ab1HDSCS (ORCPT ); Thu, 4 Aug 2011 14:02:18 -0400 Received: from mail-vx0-f174.google.com ([209.85.220.174]:62169 "EHLO mail-vx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856Ab1HDSCS (ORCPT ); Thu, 4 Aug 2011 14:02:18 -0400 Received: by mail-vx0-f174.google.com with SMTP id 9so389804vxi.19 for ; Thu, 04 Aug 2011 11:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=kBObytmsAoL53kS1BZyNdPnqtzqu8mB4YiAO9gcT78g=; b=Nesv3kN81yRYWyqF2cqM79v5Ga7zGOvqh8kZnfNFi8wu5Z3e0tQP4z0DA+yP3Czx8Y JPMS2puWgeEjW0OVN+4+TuaZRVt0rnKDcJXzGJ7xPPu6dR5aKmvrMEceMX6WzqiyyfT1 nOgt242xmOn9/m0kP1Y4PhvIBXGv25Cu8hD1k= MIME-Version: 1.0 Received: by 10.52.180.194 with SMTP id dq2mr1251544vdc.105.1312480938095; Thu, 04 Aug 2011 11:02:18 -0700 (PDT) Received: by 10.220.1.196 with HTTP; Thu, 4 Aug 2011 11:02:18 -0700 (PDT) Date: Thu, 4 Aug 2011 20:02:18 +0200 Message-ID: Subject: [PATCH 3/4] usb: musb: OMAP4430: Remove incorrect call to omap4430_phy_init() From: Bjarne Steinsbo To: 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]); Thu, 04 Aug 2011 18:02:20 +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. --- 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";