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]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux