RE: [PATCH -next] usb: dwc2: Fix the error handling of dwc2_pci_probe()

2017-02-13 Thread weiyongjun (A)
Hi Vardan, > > We have patch doing the same in our internal branch, please review it > below. We will send it out after internal review/testing process. > > usb: dwc2: pci: Fix error handling in dwc2_pci_probe > > Move usb_phy_generic_register() function call to the top, to simplify > error han

Re: [PATCH -next] usb: dwc2: Fix the error handling of dwc2_pci_probe()

2017-02-13 Thread Vardan Mikayelyan
On 2/7/2017 7:54 PM, Wei Yongjun wrote: > From: Wei Yongjun > > Fix the error handling of dwc2_pci_probe() to avoid resources leak. > > Signed-off-by: Wei Yongjun > --- > drivers/usb/dwc2/pci.c | 21 ++--- > 1 file changed, 14 insertions(+), 7 deletions(-) > > diff --git a/driver

[PATCH -next] usb: dwc2: Fix the error handling of dwc2_pci_probe()

2017-02-07 Thread Wei Yongjun
From: Wei Yongjun Fix the error handling of dwc2_pci_probe() to avoid resources leak. Signed-off-by: Wei Yongjun --- drivers/usb/dwc2/pci.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/usb/dwc2/pci.c b/drivers/usb/dwc2/pci.c index fdeb8c7..