Re: [U-Boot] pre_probe under struct driver

2019-06-24 Thread Keerthy
On 23/06/19 12:40 AM, Simon Glass wrote: Hi Keerthy, On Tue, 4 Jun 2019 at 14:01, Keerthy wrote: Hi Simon/Tom, I am looking at the device_probe function in drivers/core/device.c ret = uclass_pre_probe_device(dev); if (ret) goto fail; if (dev->parent

Re: [U-Boot] pre_probe under struct driver

2019-06-22 Thread Simon Glass
Hi Keerthy, On Tue, 4 Jun 2019 at 14:01, Keerthy wrote: > > Hi Simon/Tom, > > I am looking at the device_probe function in drivers/core/device.c > > ret = uclass_pre_probe_device(dev); > if (ret) > goto fail; > > if (dev->parent &&

[U-Boot] pre_probe under struct driver

2019-06-04 Thread Keerthy
Hi Simon/Tom, I am looking at the device_probe function in drivers/core/device.c ret = uclass_pre_probe_device(dev); if (ret) goto fail; if (dev->parent && dev->parent->driver->child_pre_probe) { ret = dev->parent->driver->child_pre_probe(dev);