[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190524054809.GA31664@kroah.com>
Date: Fri, 24 May 2019 07:48:09 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Saravana Kannan <saravanak@...gle.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...roid.com
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@...gle.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@...uxfoundation.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
Powered by blists - more mailing lists