From patchwork Wed Aug 14 10:29:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 19100 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2FB85246B8 for ; Wed, 14 Aug 2013 10:46:36 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oz10sf10575168veb.11 for ; Wed, 14 Aug 2013 03:46:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=0zrFZGA91OfoBKeF5Hr1JUs/WJpVnD4NV7Bs3ypYPDw=; b=RojXj0y8CVj9pkO7812sGM7v5OEYothfqQCsMYXQpoxYO0lFoEhlNQQI1IMz07Yucs PF2dGMpI5OqB7b6vox/F91GwH4f3RWYToEaneplRoy55W200U4nGgLVibWHoMS0W0ry7 tNWs29BgAoJy3iGrtr2HP8xV8p965VpGPZYxs1nSsSQXgtTDlUpRCSIp34449WI8Ffrm d5whUFmYN0xVOPPZfeBnCApmKdfGGPdgoWxCDsyWNFq7CfvdOl62BERIXTaum+UE+J+A AVROd4PPocUnaM3io3u3kMYR1wqb8pLWtLBCGahkBdvjfWuSkPf38jz5K4GQtDrg8C9C 3CcQ== X-Received: by 10.58.189.102 with SMTP id gh6mr2120857vec.3.1376477195465; Wed, 14 Aug 2013 03:46:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.34.230 with SMTP id c6ls2915583qej.79.gmail; Wed, 14 Aug 2013 03:46:35 -0700 (PDT) X-Received: by 10.52.120.114 with SMTP id lb18mr7816180vdb.23.1376477195345; Wed, 14 Aug 2013 03:46:35 -0700 (PDT) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by mx.google.com with ESMTPS id gq10si10862629vdc.17.2013.08.14.03.46.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 03:46:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.43; Received: by mail-vb0-f43.google.com with SMTP id h11so7470931vbh.30 for ; Wed, 14 Aug 2013 03:46:35 -0700 (PDT) X-Gm-Message-State: ALoCoQkCNR4WNLRyb/fqPDMKLL5GxpOD9zQRSal9j2wTKL/auM0BChDoZQOMYEEUQJmiR2vCZbLu X-Received: by 10.220.199.5 with SMTP id eq5mr9058803vcb.16.1376477195020; Wed, 14 Aug 2013 03:46:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp205808vcz; Wed, 14 Aug 2013 03:46:34 -0700 (PDT) X-Received: by 10.66.156.199 with SMTP id wg7mr5432765pab.81.1376477193453; Wed, 14 Aug 2013 03:46:33 -0700 (PDT) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mx.google.com with ESMTPS id hb3si28909736pac.239.2013.08.14.03.46.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 03:46:33 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.179 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.192.179; Received: by mail-pd0-f179.google.com with SMTP id v10so6173672pde.10 for ; Wed, 14 Aug 2013 03:46:32 -0700 (PDT) X-Received: by 10.66.169.42 with SMTP id ab10mr9260541pac.14.1376477192825; Wed, 14 Aug 2013 03:46:32 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id sx7sm49461267pbc.41.2013.08.14.03.46.29 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 03:46:32 -0700 (PDT) From: Tushar Behera To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: gregkh@linuxfoundation.org, tobetter@gmail.com, broonie@linaro.org, patches@linaro.org Subject: [PATCH] usb: misc: usb3503: Force late initialization Date: Wed, 14 Aug 2013 15:59:31 +0530 Message-Id: <1376476171-19072-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tushar.behera@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , USB3503 chip needs to be reset after the USB PHY controller has been intiliazed, otherwise it is not detected as plugged in. Currently there is no other way to ensure that USB3503 chip is probed after the USB PHY has been initialized, hence the last resort. Signed-off-by: Tushar Behera --- drivers/usb/misc/usb3503.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c index a31641e..ad8368d 100644 --- a/drivers/usb/misc/usb3503.c +++ b/drivers/usb/misc/usb3503.c @@ -339,7 +339,7 @@ static int __init usb3503_init(void) return 0; } -module_init(usb3503_init); +late_initcall(usb3503_init); static void __exit usb3503_exit(void) {