Re: Qestion: of property has dead-lock to call .probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Saravana

> > [Style-A]
> >         +---+  +---+
> >         |(A)+--+   |
> >         +-+-+  |   |
> >           |    |(B)|
> >         +-+-+  |   |
> >         |(C)+--+   |
> >         +---+  +---+
(snip)
> > [Style-B]
> >         +---+  +---+
> >         |(A)+--+   |
> >         +---+  |   |
> >                |(B)|
> >         +---+  |   |
> >         |(C)+--+   |
> >         +---+  +---+
(snip)
> > In my debug, it seems...
> >         - (B) is handled as supplier for (A).
> >         - (B) probe() is called, but it needs (A) info which is not yet
> >           probed. So it returns -EPROBE_DEFER.
> >         - Because (B) is not probed, (A) probe() never called
(snip)
> Anyway, I solved this recently in a general way. Use
> "post-init-providers" property in the node of "A" and point it to "B".
> This tells fw_devlink that B is not needed for A to probe.

Thank you for your help !!
"post-init-providers" property helped my issue.

Best regards
---
Kuninori Morimoto




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux