Re: [PATCH v3 4/5] usb: phy: load usb phy earlier
From: zhangfei <hidden>
Date: 2015-02-10 15:20:23
Also in:
linux-arm-kernel
On 02/10/2015 10:49 PM, Felipe Balbi wrote:
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: [off-list 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 <redacted> 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.
Sorry for the confusion, There is no dependencies at all, just for optimization. Peter already told me this patch should not be put here, causing confusion. And I resend in another thread. The controller is dwc2, which use defer probe. And dwc2 controller defer probe every time even the phy driver in the same folder. Since we know the calling sequence, we can simply change the sequence to load the phy earlier. However, as you said the new driver will be put in drivers/phy, there should be no such issue in the future. It is OK not using this patch. Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html