Messages in this thread | | | Subject | Re: [usb-next, v2 PATCH] usb: xhci: skip phys initialization of shared hcd | From | Chunfeng Yun <> | Date | Thu, 22 Mar 2018 17:21:26 +0800 |
| |
hi, On Thu, 2018-03-22 at 10:01 +0100, Greg Kroah-Hartman wrote: > On Thu, Mar 22, 2018 at 04:39:20PM +0800, Chunfeng Yun wrote: > > The phys has already been initialized when add primary hcd, > > including usb2 phys and usb3 phys also if exist, so needn't > > re-parse "phys" property again. > > > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > > --- > > drivers/usb/core/hcd.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > What changed from version 1? V1: skip phys initialization when add shared HCD by setting xhci->shared_hcd->skip_phy_initialization=1; for both xhci-plat.c & xhci-mtk.c files.
V2: fix it in hcd.c suggested by Roger > > Always put that below the --- line like the kernel documentation asks > you to do. > > v3? > > thanks, > > greg k-h
| |