[PATCH v3 4/5] usb: phy: load usb phy earlier
From: Peter Chen <hidden>
Date: 2015-02-11 01:36:58
Also in:
linux-devicetree
On Tue, Feb 10, 2015 at 03:04:28PM +0800, Peter Chen wrote:quoted
This patch does not belong to phy, so, doesn't need to add phy in subject, meanwhile, please add GregKH as TO list, he is the right one to queue this patch. Reply-To: In-Reply-To: [ref] On Tue, Feb 10, 2015 at 03:50:26PM +0800, Zhangfei Gao wrote:quoted
Since phy is definitely used in usb controller, load the phy earlier to make boot time shorter. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Acked-by: Peter Chen <redacted>NAK, make sure there are no such dependencies with your controller driver. They should know how to defer probing if their resources aren't available yet.
I NAKed it first. But after thinking more, I think it is a good patch, USB PHY works proper is the base for 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 drivers follow the similar method. Zhangfei, you may need to add more description in your commit log to prove it is a good improvement. Peter