From patchwork Thu Feb 12 08:18:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 44599 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C7B4D21527 for ; Thu, 12 Feb 2015 08:18:27 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e53sf5887020eek.3 for ; Thu, 12 Feb 2015 00:18:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=WEkNGO9rNtM/vgff2BPHIqjChj8MbCrsUoC+pw9f2cU=; b=Z9KsV9Z4Cp6NDyn70nCSaFdFCk3l24z7ehey9ydGHF736j3r4GvwMbXbStnDrYeMES rGbItVUbOH+NKNSg3hH74JrrMjfDceFiydk+vpsRXbqWfJpr+fHFEx2Zcn6dyZo0by+P GQOS+TcNm5cTbt10NarD5BUHYK4F6jjqlh37HXBSN/RcmEty7IBVc0wvKXhAkKjp/W0u Xc4O2JSIMrEpVHpr03xJAip2+bF8CYC2kPWIdg9JfLmwOop26pFu/0LgykZ4LNWGucjg qUNOMDZKd/Ds6FQpWTCtUGPfLqIQPojQVjobqigb84C1bRwUmvBaxI9Dr98fdG+yVEp6 JtOQ== X-Gm-Message-State: ALoCoQkb0GUI4kzV2CkPBw2AaeEqKAgxJvAHK4J8SjKeKrNYJPeQguRG0m+cpF4lYGD+waq3hMPi X-Received: by 10.180.80.7 with SMTP id n7mr271415wix.0.1423729107052; Thu, 12 Feb 2015 00:18:27 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.73 with SMTP id c9ls163791lae.74.gmail; Thu, 12 Feb 2015 00:18:26 -0800 (PST) X-Received: by 10.152.42.169 with SMTP id p9mr2030561lal.91.1423729106896; Thu, 12 Feb 2015 00:18:26 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id ld6si2427712lab.40.2015.02.12.00.18.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 00:18:26 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by labhs14 with SMTP id hs14so8053321lab.1 for ; Thu, 12 Feb 2015 00:18:26 -0800 (PST) X-Received: by 10.112.181.41 with SMTP id dt9mr2286507lbc.56.1423729106741; Thu, 12 Feb 2015 00:18:26 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp295743lbj; Thu, 12 Feb 2015 00:18:25 -0800 (PST) X-Received: by 10.70.35.15 with SMTP id d15mr4396559pdj.61.1423729104122; Thu, 12 Feb 2015 00:18:24 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qm15si4174536pdb.53.2015.02.12.00.18.22; Thu, 12 Feb 2015 00:18:24 -0800 (PST) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750911AbbBLISV (ORCPT + 4 others); Thu, 12 Feb 2015 03:18:21 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:51083 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbbBLISU (ORCPT ); Thu, 12 Feb 2015 03:18:20 -0500 Received: by mail-pa0-f50.google.com with SMTP id hz1so9842938pad.9 for ; Thu, 12 Feb 2015 00:18:20 -0800 (PST) X-Received: by 10.66.219.233 with SMTP id pr9mr2201348pac.8.1423729100191; Thu, 12 Feb 2015 00:18:20 -0800 (PST) Received: from linaro.solutionip.com ([210.177.145.245]) by mx.google.com with ESMTPSA id y3sm2884224pbt.90.2015.02.12.00.18.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Feb 2015 00:18:19 -0800 (PST) From: Zhangfei Gao To: Greg KH , balbi@ti.com, Peter Chen Cc: linux-usb@vger.kernel.org, Zhangfei Gao Subject: [PATCH v2] usb: load usb phy earlier Date: Thu, 12 Feb 2015 16:18:09 +0800 Message-Id: <1423729089-3699-1-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423562237-21326-1-git-send-email-zhangfei.gao@linaro.org> References: <1423562237-21326-1-git-send-email-zhangfei.gao@linaro.org> Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhangfei.gao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , USB PHY works proper is the base for the coming USB controller operation. With this patch, it can avoid the controller drivers which are linked earlier than USB PHY always being probed deferral. Look at drivers/Makefile, it links phy first with the similar method. Signed-off-by: Zhangfei Gao Acked-by: Peter Chen --- drivers/usb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile index 2f1e2aa..d8926c6 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile @@ -5,6 +5,7 @@ # Object files in subdirectories obj-$(CONFIG_USB) += core/ +obj-$(CONFIG_USB_SUPPORT) += phy/ obj-$(CONFIG_USB_DWC3) += dwc3/ obj-$(CONFIG_USB_DWC2) += dwc2/ @@ -48,7 +49,6 @@ obj-$(CONFIG_USB_MICROTEK) += image/ obj-$(CONFIG_USB_SERIAL) += serial/ obj-$(CONFIG_USB) += misc/ -obj-$(CONFIG_USB_SUPPORT) += phy/ obj-$(CONFIG_EARLY_PRINTK_DBGP) += early/ obj-$(CONFIG_USB_ATM) += atm/