public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: misc: usb3503: Force late initialization
@ 2013-08-14 10:29 Tushar Behera
  2013-08-14 18:22 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Tushar Behera @ 2013-08-14 10:29 UTC (permalink / raw)
  To: linux-kernel, linux-usb; +Cc: gregkh, tobetter, broonie, patches

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 <tushar.behera@linaro.org>
---
 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)
 {
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-14 23:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14 10:29 [PATCH] usb: misc: usb3503: Force late initialization Tushar Behera
2013-08-14 18:22 ` Greg KH
2013-08-14 19:04   ` Mark Brown
2013-08-14 19:15     ` Greg KH
2013-08-14 19:39       ` Mark Brown
2013-08-14 19:47         ` Greg KH
2013-08-14 23:22           ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox