Re: [PATCH 1/2] usb: dwc3: pci: PHY should be deleted later than dwc3 core

2013-05-23 Thread Felipe Balbi
Hi, On Tue, May 21, 2013 at 09:26:32AM +0800, Peter Chen wrote: > On Mon, May 20, 2013 at 06:18:52PM +0300, Felipe Balbi wrote: > > On Mon, May 20, 2013 at 10:55:57AM +0800, Peter Chen wrote: > > > If the glue layer is removed first (core layer later), > > > it deletes the phy device first, then t

Re: [PATCH 1/2] usb: dwc3: pci: PHY should be deleted later than dwc3 core

2013-05-20 Thread Peter Chen
On Mon, May 20, 2013 at 06:18:52PM +0300, Felipe Balbi wrote: > On Mon, May 20, 2013 at 10:55:57AM +0800, Peter Chen wrote: > > If the glue layer is removed first (core layer later), > > it deletes the phy device first, then the core device. > > But at core's removal, it still uses PHY's resources,

Re: [PATCH 1/2] usb: dwc3: pci: PHY should be deleted later than dwc3 core

2013-05-20 Thread Felipe Balbi
On Mon, May 20, 2013 at 10:55:57AM +0800, Peter Chen wrote: > If the glue layer is removed first (core layer later), > it deletes the phy device first, then the core device. > But at core's removal, it still uses PHY's resources, it may > cause kernel's oops. It is much like the problem > Paul Zimm

[PATCH 1/2] usb: dwc3: pci: PHY should be deleted later than dwc3 core

2013-05-19 Thread Peter Chen
If the glue layer is removed first (core layer later), it deletes the phy device first, then the core device. But at core's removal, it still uses PHY's resources, it may cause kernel's oops. It is much like the problem Paul Zimmerman reported at: http://marc.info/?l=linux-usb&m=136547502011472&w=2