Messages in this thread | | | Date | Fri, 24 May 2019 07:48:09 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH v1 2/5] driver core: Add device links support for pending links to suppliers |
| |
On Thu, May 23, 2019 at 06:01:13PM -0700, Saravana Kannan wrote: > When consumer devices are added, they might not have a supplier device > to link to despite needing mandatory resources/functionality from one > or more suppliers. Add a waiting_for_suppliers list to track such > consumers and add helper functions to manage the list. > > Marking/unmarking a consumer device as waiting for suppliers is > generally expected to be done by the entity that's creating the > device. > > Signed-off-by: Saravana Kannan <saravanak@google.com> > --- > drivers/base/core.c | 67 ++++++++++++++++++++++++++++++++++++++++++ > include/linux/device.h | 5 ++++ > 2 files changed, 72 insertions(+)
This looks fine to me, I'll let the dt people argue if the new entry is valid or not :)
Feel free to add:
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
to this if the dt people want to take it through their tree. Or, I guess I should really take it through mine...
thanks,
greg k-h
| |