Re: [RFC/PATCH] usb: musb: Prevent musb_am335x from being removed

2014-06-30 Thread Felipe Balbi
On Mon, Jun 30, 2014 at 03:50:23PM -0300, Ezequiel García wrote: > On 30 June 2014 15:44, Felipe Balbi wrote: > > Hi, > > > > On Thu, May 08, 2014 at 02:27:40PM -0300, Ezequiel Garcia wrote: > >> At probe time, the musb_am335x driver registers its childs by > >> calling of_platform_populate(), whi

Re: [RFC/PATCH] usb: musb: Prevent musb_am335x from being removed

2014-06-30 Thread Ezequiel García
On 30 June 2014 15:44, Felipe Balbi wrote: > Hi, > > On Thu, May 08, 2014 at 02:27:40PM -0300, Ezequiel Garcia wrote: >> At probe time, the musb_am335x driver registers its childs by >> calling of_platform_populate(), which registers all childs in >> the devicetree hierarchy recursively. >> >> On

Re: [RFC/PATCH] usb: musb: Prevent musb_am335x from being removed

2014-06-30 Thread Felipe Balbi
Hi, On Thu, May 08, 2014 at 02:27:40PM -0300, Ezequiel Garcia wrote: > At probe time, the musb_am335x driver registers its childs by > calling of_platform_populate(), which registers all childs in > the devicetree hierarchy recursively. > > On the other side, the driver's remove() function uses o

Re: [RFC/PATCH] usb: musb: Prevent musb_am335x from being removed

2014-05-12 Thread Ezequiel Garcia
On 12 May 10:29 AM, George Cherian wrote: > On 5/8/2014 10:57 PM, Ezequiel Garcia wrote: > >At probe time, the musb_am335x driver registers its childs by > >calling of_platform_populate(), which registers all childs in > >the devicetree hierarchy recursively. > > > >On the other side, the driver's

Re: [RFC/PATCH] usb: musb: Prevent musb_am335x from being removed

2014-05-11 Thread George Cherian
On 5/8/2014 10:57 PM, Ezequiel Garcia wrote: At probe time, the musb_am335x driver registers its childs by calling of_platform_populate(), which registers all childs in the devicetree hierarchy recursively. On the other side, the driver's remove() function uses of_device_unregister() to remove e

[RFC/PATCH] usb: musb: Prevent musb_am335x from being removed

2014-05-08 Thread Ezequiel Garcia
At probe time, the musb_am335x driver registers its childs by calling of_platform_populate(), which registers all childs in the devicetree hierarchy recursively. On the other side, the driver's remove() function uses of_device_unregister() to remove each child in the musb_am335x driver device stru