Re: [PATCH 2/2] device property: add description of fwnode cases

2021-01-07 Thread Rafael J. Wysocki
On Thu, Jan 7, 2021 at 3:11 PM Heikki Krogerus wrote: > > On Tue, Jan 05, 2021 at 05:11:46PM +0800, Bard Liao wrote: > > There are only four valid fwnode cases which are > > - primary --> secondary --> -ENODEV > > - primary --> NULL > > - secondary --> -ENODEV > > - NULL > > > > dev->fwnode

Re: [PATCH 2/2] device property: add description of fwnode cases

2021-01-07 Thread Heikki Krogerus
On Tue, Jan 05, 2021 at 05:11:46PM +0800, Bard Liao wrote: > There are only four valid fwnode cases which are > - primary --> secondary --> -ENODEV > - primary --> NULL > - secondary --> -ENODEV > - NULL > > dev->fwnode should be converted between the 4 cases above no matter > how/when

Re: [PATCH 2/2] device property: add description of fwnode cases

2021-01-05 Thread Andy Shevchenko
On Tue, Jan 05, 2021 at 05:11:46PM +0800, Bard Liao wrote: > There are only four valid fwnode cases which are > - primary --> secondary --> -ENODEV > - primary --> NULL > - secondary --> -ENODEV > - NULL > > dev->fwnode should be converted between the 4 cases above no matter > how/when

[PATCH 2/2] device property: add description of fwnode cases

2021-01-05 Thread Bard Liao
There are only four valid fwnode cases which are - primary --> secondary --> -ENODEV - primary --> NULL - secondary --> -ENODEV - NULL dev->fwnode should be converted between the 4 cases above no matter how/when set_primary_fwnode() and set_secondary_fwnode() are called. Describe it in the code